Re: set handle to NULL

Ng Pheng Siong <ngps-ah2/f+/[email protected]> Wed, 14 Aug 2002 10:45:14 +0800
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
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