2 // Put everything in a package
6 %typemap
(cin
) LLVMBool
":boolean";
7 %typemap
(cout
) LLVMBool
":boolean";
9 // These typemaps are a bit silly
: all they do is provide
10 // documentation in the interfaces. All the actual types degenerate into
11 // :pointer
, in any case
, via defctype.
14 %typemap
(cin
) LLVMAttribute
"LLVMAttribute";
15 %typemap
(cout
) LLVMAttribute
"LLVMAttribute";
16 %typemap
(cin
) LLVMOpcode
"LLVMOpcode";
17 %typemap
(cout
) LLVMOpcode
"LLVMOpcode";
18 %typemap
(cin
) LLVMTypeKind
"LLVMTypeKind";
19 %typemap
(cout
) LLVMTypeKind
"LLVMTypeKind";
20 %typemap
(cin
) LLVMLinkage
"LLVMLinkage";
21 %typemap
(cout
) LLVMLinkage
"LLVMLinkage";
22 %typemap
(cin
) LLVMVisibility
"LLVMVisibility";
23 %typemap
(cout
) LLVMVisibility
"LLVMVisibility";
24 %typemap
(cin
) LLVMCallConv
"LLVMCallConv";
25 %typemap
(cout
) LLVMCallConv
"LLVMCallConv";
26 %typemap
(cin
) LLVMIntPredicate
"LLVMIntPredicate";
27 %typemap
(cout
) LLVMIntPredicate
"LLVMIntPredicate";
28 %typemap
(cin
) LLVMRealPredicate
"LLVMRealPredicate";
29 %typemap
(cout
) LLVMRealPredicate
"LLVMRealPredicate";
31 %typemap
(cin
) LLVMContextRef
"LLVMContextRef";
32 %typemap
(cout
) LLVMContextRef
"LLVMContextRef";
33 %typemap
(cin
) LLVMModuleRef
"LLVMModuleRef";
34 %typemap
(cout
) LLVMModuleRef
"LLVMModuleRef";
35 %typemap
(cin
) LLVMTypeRef
"LLVMTypeRef";
36 %typemap
(cout
) LLVMTypeRef
"LLVMTypeRef";
37 %typemap
(cin
) LLVMTypeHandleRef
"LLVMTypeHandleRef";
38 %typemap
(cout
) LLVMTypeHandleRef
"LLVMTypeHandleRef";
39 %typemap
(cin
) LLVMValueRef
"LLVMValueRef";
40 %typemap
(cout
) LLVMValueRef
"LLVMValueRef";
41 %typemap
(cin
) LLVMBasicBlockRef
"LLVMBasicBlockRef";
42 %typemap
(cout
) LLVMBasicBlockRef
"LLVMBasicBlockRef";
43 %typemap
(cin
) LLVMBuilderRef
"LLVMBuilderRef";
44 %typemap
(cout
) LLVMBuilderRef
"LLVMBuilderRef";
45 %typemap
(cin
) LLVMModuleProviderRef
"LLVMModuleProviderRef";
46 %typemap
(cout
) LLVMModuleProviderRef
"LLVMModuleProviderRef";
47 %typemap
(cin
) LLVMMemoryBufferRef
"LLVMMemoryBufferRef";
48 %typemap
(cout
) LLVMMemoryBufferRef
"LLVMMemoryBufferRef";
49 %typemap
(cin
) LLVMPassManagerRef
"LLVMPassManagerRef";
50 %typemap
(cout
) LLVMPassManagerRef
"LLVMPassManagerRef";
51 %typemap
(cin
) LLVMUseIteratorRef
"LLVMUseIteratorRef";
52 %typemap
(cout
) LLVMUseIteratorRef
"LLVMUseIteratorRef";
54 // For ExecutionEngine.h
55 %typemap
(cin
) LLVMGenericValueRef
"LLVMGenericValueRef";
56 %typemap
(cout
) LLVMGenericValueRef
"LLVMGenericValueRef";
57 %typemap
(cin
) LLVMExecutionEngineRef
"LLVMExecutionEngineRef";
58 %typemap
(cout
) LLVMExecutionEngineRef
"LLVMExecutionEngineRef";
61 %typemap
(cin
) LLVMTargetDataRef
"LLVMTargetDataRef";
62 %typemap
(cout
) LLVMTargetDataRef
"LLVMTargetDataRef";
63 %typemap
(cin
) LLVMStructLayoutRef
"LLVMStructLayoutRef";
64 %typemap
(cout
) LLVMStructLayoutRef
"LLVMStructLayoutRef";