GDExtensionInterfaceScriptInstanceCreate typedef

GDExtensionInterfaceScriptInstanceCreate = Pointer<NativeFunction<GDExtensionInterfaceScriptInstanceCreateFunction>>

@name script_instance_create @since 4.1 @deprecated in Godot 4.2. Use script_instance_create3 instead.

Creates a script instance that contains the given info and instance data.

@param p_info A pointer to a GDExtensionScriptInstanceInfo struct. @param p_instance_data A pointer to a data representing the script instance in the GDExtension. This will be passed to all the function pointers on p_info.

@return A pointer to a ScriptInstanceExtension object.

Implementation

typedef GDExtensionInterfaceScriptInstanceCreate =
    ffi.Pointer<
      ffi.NativeFunction<GDExtensionInterfaceScriptInstanceCreateFunction>
    >;