From b6c4afb6163efddf635f058ce47b4322c1e7ab07 Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Thu, 22 Aug 2024 11:46:07 -0700 Subject: [PATCH] Tidy rename instance_id_length to max_instance_id --- interop.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/interop.c b/interop.c index 484e1c8..660351e 100644 --- a/interop.c +++ b/interop.c @@ -7,14 +7,13 @@ /*********************************************************************/ -bool Interop_CreateInstance(const char *type_name, char *instance_id, int32_t instance_id_length, - void *execute_user_ptr, Interop_ExecuteCallback execute, - Interop_InvokeInstanceCallback *invoke_instance, +bool Interop_CreateInstance(const char *type_name, char *instance_id, int32_t max_instance_id, void *execute_user_ptr, + Interop_ExecuteCallback execute, Interop_InvokeInstanceCallback *invoke_instance, Interop_ReleaseInstanceCallback *release_instance, Interop_ProcessInstanceCallback *process_instance, void **user_ptr) { if (strcmp(type_name, "SSN.Simple") == 0) { void *context = Simple_Create(); - Simple_GetInstanceId(context, instance_id, instance_id_length); + Simple_GetInstanceId(context, instance_id, max_instance_id); *invoke_instance = Simple_Invoke; *release_instance = Simple_Release;