Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy rename instance_id_length to max_instance_id #36

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions interopstub.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ typedef bool (*Interop_ProcessInstanceCallback)(void *user_ptr);
* Called when an instance is created
* \param type_name type of object to be created
* \param instance_id id of the object to be created
* \param instance_id_length maximum length of the InstanceId
* \param max_instance_id maximum length of the instance id buffer
* \param execute_user_ptr user pointer stored with execute callback
* \param execute execute callback
* \param invoke_instance pointer to the instance invocation callback function
Expand All @@ -31,9 +31,8 @@ typedef bool (*Interop_ProcessInstanceCallback)(void *user_ptr);
* \param user_ptr pointer associated with instance id
* \return true on success, false otherwise
*/
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);

Expand Down