mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-17 08:48:58 +00:00
add add_attrs_if_missing callback
This commit is contained in:
@@ -51,6 +51,12 @@ pub type ParseErrorCallback = unsafe extern "C" fn(ctx: Ref, str: StringSlice) -
|
||||
|
||||
pub type PopCallback = unsafe extern "C" fn(ctx: Ref, node: Ref) -> ();
|
||||
|
||||
pub type AddAttrsIfMissingCallback = unsafe extern "C" fn(
|
||||
ctx: Ref,
|
||||
target: Ref,
|
||||
attributes: *mut c_void,
|
||||
) -> ();
|
||||
|
||||
pub type Ref = *const c_void;
|
||||
|
||||
#[repr(C)]
|
||||
|
||||
Reference in New Issue
Block a user