implement html5ever createPI callback

This commit is contained in:
Karl Seguin
2025-12-21 16:04:59 +08:00
parent d95b19d31b
commit 32c83d166d
6 changed files with 45 additions and 5 deletions

View File

@@ -39,6 +39,12 @@ pub type AppendDoctypeToDocumentCallback = unsafe extern "C" fn(
system_id: StringSlice,
) -> ();
pub type CreateProcessingInstruction = unsafe extern "C" fn(
ctx: Ref,
target: StringSlice,
data: StringSlice,
) -> Ref;
pub type GetDataCallback = unsafe extern "C" fn(ctx: Ref) -> *mut c_void;
pub type AppendCallback = unsafe extern "C" fn(