-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathray.yml
56 lines (55 loc) · 1.7 KB
/
ray.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
55
56
---
GENERATOR:
PackageName: ray
PackageDescription: "Package ray provides Go bindings for Raylib."
PackageLicense: "THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS."
Includes: [raylib.h]
Options:
SafeStrings: true
PARSER:
IncludePaths:
- /usr/include/
- /usr/local/include/
- ray/
- ray/external/
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include
SourcesPaths:
- ray/raylib.h
TRANSLATOR:
ConstRules:
defines: expand
enum: expand
PtrTips:
function:
- { target: ".", self: arr, tips: [arr, arr, arr, arr, arr, arr, arr] }
Rules:
global:
- { action: ignore, from: "^TraceLog" }
function:
- { action: ignore, from: "_GO_" }
- { action: ignore, from: "^TraceLog" }
- { action: ignore, from: "TraceLogCallback" }
- { action: ignore, from: "TextFormat" }
- { action: accept, from: "^." }
type:
- { action: ignore, from: "^TraceLog" }
- { action: accept, from: "^." }
- { transform: export }
const:
- { action: ignore, from: "^TraceLog" }
- { action: ignore, from: "RLAPI" }
- { action: ignore, from: "bool" }
- { action: ignore, from: "true" }
- { action: ignore, from: "false" }
- { action: ignore, from: "SpriteFont" }
- { action: ignore, from: "^_" }
- { action: accept, from: "^." }
private:
- { action: ignore, from: "^TraceLog" }
- { action: accept, fromt: "^." }
- { transform: unexport }
post-global:
- { action: ignore, from: "^TraceLog" }
- { action: replace, from: _$ }
- { action: accept, fromt: "^." }
- { load: snakecase }