GDExtensionInterfaceClassdbRegisterExtensionClassProperty typedef

GDExtensionInterfaceClassdbRegisterExtensionClassProperty = Pointer<NativeFunction<GDExtensionInterfaceClassdbRegisterExtensionClassPropertyFunction>>

@name classdb_register_extension_class_property @since 4.1

Registers a property on 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_info A pointer to a GDExtensionPropertyInfo struct. @param p_setter A pointer to a StringName with the name of the setter method. @param p_getter A pointer to a StringName with the name of the getter method.

Implementation

typedef GDExtensionInterfaceClassdbRegisterExtensionClassProperty =
    ffi.Pointer<
      ffi.NativeFunction<
        GDExtensionInterfaceClassdbRegisterExtensionClassPropertyFunction
      >
    >;