GDExtensionInterfaceObjectGetScriptInstance typedef

GDExtensionInterfaceObjectGetScriptInstance = Pointer<NativeFunction<GDExtensionInterfaceObjectGetScriptInstanceFunction>>

@name object_get_script_instance @since 4.2

Get the script instance data attached to this object.

@param p_object A pointer to the Object. @param p_language A pointer to the language expected for this script instance.

@return A GDExtensionScriptInstanceDataPtr that was attached to this object as part of script_instance_create.

Implementation

typedef GDExtensionInterfaceObjectGetScriptInstance =
    ffi.Pointer<
      ffi.NativeFunction<GDExtensionInterfaceObjectGetScriptInstanceFunction>
    >;