-
-
Save Skarsnik/8687bba8063422798d1a2e83e859c195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use NativeCall :utils; | |
my NC-Library-Handle $xml2-nh = get-native-library('libXML2'); | |
if ! $xml2-nh.defined { | |
$xml2-nh = register-native-library('libXML2', 'libxml2', v2, :ENV<PERL6_LIBXML2>); | |
} | |
sub foo is native($xml2-nh) {*} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment