Re: set handle to NULL

John DeSoi <[email protected]> Wed, 14 Aug 2002 00:36:16 -0400
Newsgroups gmane.lisp.uffi.general
Message-ID <p05111b03b97f8e2fb1dc@[192.168.1.6]>
I tried make-null-pointer in a lot of different ways, but never had 
any luck. I have given up for now, but I may try again later.

Thanks,

John DeSoi, Ph.D.

====


At 10:45 AM +0800 8/14/02, Ng Pheng Siong wrote:
>On Mon, Aug 12, 2002 at 11:11:29PM -0400, John DeSoi wrote:
>>  The error I keep getting indicates that the db handle is invalid. In
>>  the case of creating the database, the db handle needs to be NULL. So
>>  how would I use UFFI to allocate the db (and transaction) handle so
>>  that it would be equivalent to the C code below?
>
>Try uffi:make-null-pointer.
>
>Anyhow, I just tried making a UFFI for SQLite. Turns out SQLite returns its
>data row-by-row via a C callback and CMUCL, which is what I use on Unix,
>doesn't do that easily. ;-/
>
>(Ok, that leaves SBCL, ECLS, CLISP, etc. etc. ;-)
>
>--
>Ng Pheng Siong <ngps-ah2/f+/[email protected]> * http://www.netmemetic.com