[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ff-interface
- Subject: ff-interface
- From: bill@cambridge.apple.com (Bill St. Clair)
- Date: Fri, 7 May 1993 14:51:59 -0600
> (defun make-cstring-list (string-list)
> (unless (every 'stringp string-list)
> (error "Not a list of strings: ~s" string-list))
> (let* ((length (length string-list))
> (res (#_NewPtr (* 4 length)))
>
>Shouldn't this have an extra entry so you can write a null pointer at
>the end?
I don't think so. jmartin said: <All of the C functions expect 2 parameters,
an integer giving the length of the second parameter, which is "an array of
strings".>