add remove_from_parent html5ever callback

This commit is contained in:
Karl Seguin
2025-11-16 07:40:07 +08:00
parent 19dfea7762
commit ff3a9c51f3
5 changed files with 34 additions and 5 deletions

View File

@@ -59,6 +59,8 @@ pub type AddAttrsIfMissingCallback = unsafe extern "C" fn(
pub type GetTemplateContentsCallback = unsafe extern "C" fn(ctx: Ref, target: Ref) -> Ref;
pub type RemoveFromParentCallback = unsafe extern "C" fn(ctx: Ref, target: Ref) -> ();
pub type Ref = *const c_void;
#[repr(C)]