GDExtensionInterfaceClassdbRegisterExtensionClass typedef

GDExtensionInterfaceClassdbRegisterExtensionClass = Pointer<NativeFunction<GDExtensionInterfaceClassdbRegisterExtensionClassFunction>>

@name classdb_register_extension_class @since 4.1 @deprecated in Godot 4.2. Use classdb_register_extension_class4 instead.

Registers an extension class in the ClassDB.

Provided struct can be safely freed once the function returns.

@param p_library A pointer the library received by the GDExtension's entry point function. @param p_class_name A pointer to a StringName with the class name. @param p_parent_class_name A pointer to a StringName with the parent class name. @param p_extension_funcs A pointer to a GDExtensionClassCreationInfo struct.

Implementation

typedef GDExtensionInterfaceClassdbRegisterExtensionClass =
    ffi.Pointer<
      ffi.NativeFunction<
        GDExtensionInterfaceClassdbRegisterExtensionClassFunction
      >
    >;