-
Notifications
You must be signed in to change notification settings - Fork 65
/
ultralight.yml
54 lines (52 loc) · 2.21 KB
/
ultralight.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
GENERATOR:
PackageName: ultralight
PackageDescription: "Ultralight bindings for golang"
PackageLicense: "THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS."
FlagGroups:
- {name: CFLAGS, flags: [-I../include]}
- {name: LDFLAGS, flags: ["-L${SRCDIR}/libs -lUltralightCore -lWebCore -lUltralight -lAppCore"]}
Includes: ["AppCore/CAPI.h"]
Options:
SafeStrings: true
PARSER:
Arch: x86_64
IncludePaths:
- include
- /usr/include
- /usr/lib/gcc/x86_64-linux-gnu/7/include
SourcesPaths:
- AppCore/CAPI.h
TRANSLATOR:
ConstRules:
defines: eval
Rules:
global:
- {action: accept, from: "^ul"}
- {action: accept, from: "^UL"}
- {action: accept, from: "^JS"}
- {action: accept, from: "^k"}
- {action: accept, from: "^B"}
- {action: ignore, from: __size_t__}
- {action: ignore, from: __SIZE_T__}
- {action: ignore, from: _BSD_SIZE_T_DEFINED_}
- {action: ignore, from: _SIZE_T_DECLARED}
- {action: ignore, from: __wchar_t__}
- {action: ignore, from: __WCHAR_T__}
- {transform: export}
function:
- {action: ignore, from: __GO__}
# - {action: ignore, from: JSObjectGetArrayBufferByteLength}
# - {action: ignore, from: JSObjectGetArrayBufferBytesPtr}
# - {action: ignore, from: JSObjectGetTypedArrayBuffer}
# - {action: ignore, from: JSObjectGetTypedArrayByteLength}
# - {action: ignore, from: JSObjectGetTypedArrayByteOffset}
# - {action: ignore, from: JSObjectGetTypedArrayBytesPtr}
# - {action: ignore, from: JSObjectGetTypedArrayLength}
# - {action: ignore, from: JSObjectMakeArrayBufferWithBytesNoCopy}
# - {action: ignore, from: JSObjectMakeTypedArray}
# - {action: ignore, from: JSObjectMakeTypedArrayWithArrayBuffer}
# - {action: ignore, from: JSObjectMakeTypedArrayWithArrayBufferAndOffset}
# - {action: ignore, from: JSObjectMakeTypedArrayWithBytesNoCopy}
# - {action: ignore, from: JSValueGetTypedArrayType}
private:
- {transform: unexport}