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