add reparent_children html5ever callback

This commit is contained in:
Karl Seguin
2025-11-16 07:53:55 +08:00
parent ff3a9c51f3
commit c3ba39c80f
6 changed files with 31 additions and 13 deletions

View File

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