[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
foreign function interface
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: foreign function interface
- From: dxs@evolving.com (Dan Stanger)
- Date: Fri, 16 Jun 1995 16:34:39 -0600
is is possible to use the following construct?
(defconstant _SYS_NMLN 32)
(def-c-struct utsname
(sysname (c-array char _SYS_NMLN))
...
when i try it i get the following error
*** - Invalid FFI type: (C-ARRAY CHAR _SYS_NMLN)
but this works
(sysname (c-array char 32 ))
also, is there a way to pass c code directly through the compilation process?
via a special comment (for example)
thanks,
dan stanger