-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcallingconv.go
27 lines (23 loc) · 1.17 KB
/
callingconv.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package clang
// #include <stdlib.h>
// #include "go-clang.h"
//
import "C"
// CallingConv describes the calling convention of a function type
type CallingConv uint32
const (
CallingConv_Default CallingConv = C.CXCallingConv_Default
CallingConv_C = C.CXCallingConv_C
CallingConv_X86StdCall = C.CXCallingConv_X86StdCall
CallingConv_X86FastCall = C.CXCallingConv_X86FastCall
CallingConv_X86ThisCall = C.CXCallingConv_X86ThisCall
CallingConv_X86Pascal = C.CXCallingConv_X86Pascal
CallingConv_CallingConv_AAPCS = C.CXCallingConv_AAPCS
CallingConv_CallingConv_AAPCS_VFP = C.CXCallingConv_AAPCS_VFP
CallingConv_PnaclCall = C.CXCallingConv_PnaclCall
CallingConv_IntelOclBicc = C.CXCallingConv_IntelOclBicc
CallingConv_X86_64Win64 = C.CXCallingConv_X86_64Win64
CallingConv_X86_64SysV = C.CXCallingConv_X86_64SysV
CallingConv_Invalid CallingConv = C.CXCallingConv_Invalid
CallingConv_Unexposed = C.CXCallingConv_Unexposed
)