GDExtensionInterfaceGlobalGetSingleton typedef

GDExtensionInterfaceGlobalGetSingleton = Pointer<NativeFunction<GDExtensionInterfaceGlobalGetSingletonFunction>>

@name global_get_singleton @since 4.1

Gets a global singleton by name.

@param p_name A pointer to a StringName with the singleton name.

@return A pointer to the singleton Object.

Implementation

typedef GDExtensionInterfaceGlobalGetSingleton =
    ffi.Pointer<
      ffi.NativeFunction<GDExtensionInterfaceGlobalGetSingletonFunction>
    >;