/trunk/Lib/clisp/clisp.swg

# · Unknown · 32 lines · 23 code · 9 blank · 0 comment · 0 complexity · 9284fde1e9c368a498c17fc433c20038 MD5 · raw file

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