Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Last active December 13, 2016 00:25
Show Gist options
  • Save MasterDuke17/a2c8e38be2580f6d6703025c90220441 to your computer and use it in GitHub Desktop.
Save MasterDuke17/a2c8e38be2580f6d6703025c90220441 to your computer and use it in GitHub Desktop.
use v6.c;
use NativeCall;
use XML::LibXSLT::Subs;
# --------------------------------------
# cw: To add to XML::LibXML!!
# --------------------------------------
sub xmlAllocOutputBuffer(Pointer $encoder)
is native('xml')
returns xmlBuffer
{ * }
sub xmlOutputBufferGetContent(xmlBuffer $out)
is native('xml')
returns Str
{ * }
# --------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment