[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


>    (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