pub type GDExtensionInterfaceObjectGetScriptInstance = Option<unsafe extern "C" fn(p_object: GDExtensionConstObjectPtr, p_language: GDExtensionObjectPtr) -> GDExtensionScriptInstanceDataPtr>;Expand description
@name object_get_script_instance @since 4.2
Get the script instance data attached to this object.
@param p_object A pointer to the Object. @param p_language A pointer to the language expected for this script instance.
@return A GDExtensionScriptInstanceDataPtr that was attached to this object as part of script_instance_create.
Aliased Type§
pub enum GDExtensionInterfaceObjectGetScriptInstance {
None,
Some(unsafe extern "C" fn(*const __GdextObject, *mut __GdextObject) -> *mut __GdextScriptInstanceData),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*const __GdextObject, *mut __GdextObject) -> *mut __GdextScriptInstanceData)
Some value of type T.