GDExtensionInterfaceCallableCustomGetUserData typedef

GDExtensionInterfaceCallableCustomGetUserData = Pointer<NativeFunction<GDExtensionInterfaceCallableCustomGetUserDataFunction>>

@name callable_custom_get_userdata @since 4.2

Retrieves the userdata pointer from a custom Callable.

If the Callable is not a custom Callable or the token does not match the one provided to callable_custom_create() via GDExtensionCallableCustomInfo then NULL will be returned.

@param p_callable A pointer to a Callable. @param p_token A pointer to an address that uniquely identifies the GDExtension.

Implementation

typedef GDExtensionInterfaceCallableCustomGetUserData =
    ffi.Pointer<
      ffi.NativeFunction<GDExtensionInterfaceCallableCustomGetUserDataFunction>
    >;