1 /* ----------------------------------------------------------------------------- 2 * clisp.swg 3 * ----------------------------------------------------------------------------- */ 4 5 /* Define a C preprocessor symbol that can be used in interface files 6 to distinguish between the SWIG language modules. */ 7 8 #define SWIG_CLISP 9 10 /* Typespecs for basic types. */ 11 12 %typemap(in) void "NIL"; 13 14 %typemap(in) char "character"; 15 %typemap(in) char * "ffi:c-string"; 16 %typemap(in) unsigned char "ffi:uchar"; 17 %typemap(in) signed char "ffi:char"; 18 19 %typemap(in) short "ffi:short"; 20 %typemap(in) signed short "ffi:short"; 21 %typemap(in) unsigned short "ffi:ushort"; 22 23 %typemap(in) int "ffi:int"; 24 %typemap(in) signed int "ffi:int"; 25 %typemap(in) unsigned int "ffi:uint"; 26 27 %typemap(in) long "ffi:long"; 28 %typemap(in) signed long "ffi:long"; 29 %typemap(in) unsigned long "ffi:ulong"; 30 31 %typemap(in) float "SINGLE-FLOAT"; 32 %typemap(in) double "DOUBLE-FLOAT"; 33