Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use NativeCall;
- sub mongo_connect( OpaquePointer $client, OpaquePointer $options)
- returns OpaquePointer
- is native('libmongoc')
- { ... }
- my OpaquePointer $connection;
- my OpaquePointer $options = OpaquePointer.new;
- my $answer = mongo_connect($connection,pir::null__P());
- 'done'.say;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement