GDExtensionInterfacePrintScriptError

Type Alias GDExtensionInterfacePrintScriptError 

Source
pub type GDExtensionInterfacePrintScriptError = Option<unsafe extern "C" fn(p_description: *const c_char, p_function: *const c_char, p_file: *const c_char, p_line: i32, p_editor_notify: GDExtensionBool)>;
Expand description

@name print_script_error @since 4.1

Logs a script error to Godot’s built-in debugger and to the OS terminal.

@param p_description The code triggering the error. @param p_function The function name where the error occurred. @param p_file The file where the error occurred. @param p_line The line where the error occurred. @param p_editor_notify Whether or not to notify the editor.

Aliased Type§

pub enum GDExtensionInterfacePrintScriptError {
    None,
    Some(unsafe extern "C" fn(*const i8, *const i8, *const i8, i32, u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *const i8, *const i8, i32, u8))

Some value of type T.