Re: Problem with NativeCall

2010-11-08 Thread Jonathan Leto
Howdy, Firstly, thanks for hacking on this, it sounds cool! I don't know much about MongoDB, but I can give some light to the Parrot errors you are getting. > art...@aquarelle /t/zavolaj> perl6 examples/mongodb.p6 > Null PMC access in isa_pmc() >  in '&infix:<=>' at line 1 >  in main program bod

Re: Problem with NativeCall

2010-11-08 Thread Rudy Lippan
On Sun, 07 Nov 2010 16:56:16 -0800, Darren Duncan wrote: > Arthur, I don't know if this would be useful in your situation, but Rudy > Lippan > is working to make a Perl 5 DBI driver to MongoDB. Since your challenges > are > related he might know something that could help. -- Darren Duncan > I

Re: Problem with NativeCall

2010-11-07 Thread Darren Duncan
Arthur, I don't know if this would be useful in your situation, but Rudy Lippan is working to make a Perl 5 DBI driver to MongoDB. Since your challenges are related he might know something that could help. -- Darren Duncan ARTHUR WOLF wrote: Hello list ! So, I'm trying to make a MongoDB driv

Problem with NativeCall

2010-11-07 Thread ARTHUR WOLF
Hello list ! So, I'm trying to make a MongoDB driver for Perl6. I was advised at #perl6to use NativeCall ( https://github.com/jnthn/zavolaj). I did this, by copying the MySQL driver in examples : use NativeCall; sub mongo_connect( OpaquePointer $client, OpaquePointer $options) returns OpaquePoin