@@ -180,38 +180,38 @@ bool MCScriptIsModuleALibrary(MCScriptModuleRef module);
180180// Returns true if the module is a widget.
181181bool MCScriptIsModuleAWidget (MCScriptModuleRef module );
182182
183+ // List the module's direct dependencies.
184+ bool MCScriptListDependencyNamesOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_module_names );
185+
183186// Returns a list of the constants defined by the module.
184- bool MCScriptCopyConstantsOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_constant_names );
187+ bool MCScriptListConstantNamesOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_constant_names );
185188
186189// Queries the value of the given constant.
187190bool MCScriptQueryConstantOfModule (MCScriptModuleRef module , MCNameRef name , /* get */ MCValueRef & r_constant_value );
188191
189- // List the module's direct dependencies.
190- bool MCScriptCopyDependenciesOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_module_names );
191-
192192// Returns a list of properties implemented by the module.
193- bool MCScriptCopyPropertiesOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_property_names );
193+ bool MCScriptListPropertyNamesOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_property_names );
194194
195195// Queries the type of the given property. If the setting type is nil, then the property
196196// is read-only.
197197bool MCScriptQueryPropertyOfModule (MCScriptModuleRef module , MCNameRef property , /* get */ MCTypeInfoRef & r_getter , /* get */ MCTypeInfoRef & r_setter );
198198
199199// Returns a list of the events declared by the module.
200- bool MCScriptCopyEventsOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_event_names );
200+ bool MCScriptListEventNamesOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_event_names );
201201
202202// Query the signature of the given event.
203203bool MCScriptQueryEventOfModule (MCScriptModuleRef module , MCNameRef event , /* get */ MCTypeInfoRef & r_signature );
204204
205205// Returns a list of the handlers declared by the module.
206- bool MCScriptCopyHandlersOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_handler_names );
206+ bool MCScriptListHandlerNamesOfModule (MCScriptModuleRef module , /* copy */ MCProperListRef & r_handler_names );
207207
208208// Query the signature of the given handler.
209209bool MCScriptQueryHandlerSignatureOfModule (MCScriptModuleRef module , MCNameRef handler , /* get */ MCTypeInfoRef & r_signature );
210210
211211// Copy the names of the parameters in the signature of the given handler.
212212// Note: If the module has had debugging info stripped, the list will be all
213213// empty names.
214- bool MCScriptCopyHandlerParametersOfModule (MCScriptModuleRef module , MCNameRef handler , /* copy */ MCProperListRef & r_names );
214+ bool MCScriptListHandlerParameterNamesOfModule (MCScriptModuleRef module , MCNameRef handler , /* copy */ MCProperListRef & r_names );
215215
216216// Emit an interface definition for the module.
217217bool MCScriptWriteInterfaceOfModule (MCScriptModuleRef module , MCStreamRef stream );
@@ -246,18 +246,18 @@ void MCScriptReleaseInstance(MCScriptInstanceRef instance);
246246MCScriptModuleRef MCScriptGetModuleOfInstance (MCScriptInstanceRef instance );
247247
248248// Get a property of an instance.
249- bool MCScriptGetPropertyOfInstance (MCScriptInstanceRef instance , MCNameRef property , MCValueRef & r_value );
249+ bool MCScriptGetPropertyInInstance (MCScriptInstanceRef instance , MCNameRef property , MCValueRef & r_value );
250250// Set a property of an instance.
251- bool MCScriptSetPropertyOfInstance (MCScriptInstanceRef instance , MCNameRef property , MCValueRef value );
251+ bool MCScriptSetPropertyInInstance (MCScriptInstanceRef instance , MCNameRef property , MCValueRef value );
252252
253253// Call a handler of an instance.
254- bool MCScriptCallHandlerOfInstance (MCScriptInstanceRef instance , MCNameRef handler , MCValueRef * arguments , uindex_t argument_count , MCValueRef & r_value );
254+ bool MCScriptCallHandlerInInstance (MCScriptInstanceRef instance , MCNameRef handler , MCValueRef * arguments , uindex_t argument_count , MCValueRef & r_value );
255255
256256// Call a handler of an instance if found, it doesn't throw an error if not.
257- bool MCScriptCallHandlerOfInstanceIfFound (MCScriptInstanceRef instance , MCNameRef handler , MCValueRef * arguments , uindex_t argument_count , MCValueRef & r_value );
257+ bool MCScriptCallHandlerInInstanceIfFound (MCScriptInstanceRef instance , MCNameRef handler , MCValueRef * arguments , uindex_t argument_count , MCValueRef & r_value );
258258
259259// Create a handler-ref for the given handler in the instance.
260- bool MCScriptCopyHandlerOfInstance (MCScriptInstanceRef instance , MCNameRef handler , /* copy */ MCHandlerRef & r_handler );
260+ bool MCScriptEvaluateHandlerBindingInInstance (MCScriptInstanceRef instance , MCNameRef handler , /* copy */ MCHandlerRef & r_handler );
261261
262262////////////////////////////////////////////////////////////////////////////////
263263
0 commit comments