-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathimgui.yml
34 lines (31 loc) · 1.12 KB
/
imgui.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
GENERATOR:
PackageName: go-imgui
PackageDescription: 'Go bindings for the dear imgui immediate mode GUI library'
PackageLicense: 'THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS.'
Includes: ['cimgui/cimgui/cimgui.h']
Options:
SafeStrings: true
PARSER:
IncludePaths: ['/mingw64/usr/include']
SourcesPaths: ['cimgui/cimgui/cimgui.h']
TRANSLATOR:
ConstRules:
defines: eval
Rules:
global:
- {action: accept, from: '^ig[A-Z]'}
- {action: replace, from: '^ig', to: _}
- {action: replace, from: 'Id$', to: 'ID$'}
- {action: replace, from: 'PushId', to: 'PushID'}
- {action: replace, from: 'GetId', to: 'GetID'}
- {transform: export}
const:
- {action: accept, from: '^ImGui'}
- {action: replace, from: '^ImGui', to: _}
type:
- {action: replace, from: '^ImGui', to: _}
private:
- {transform: unexport}
post-global:
- {action: replace, from: _$}
- {load: snakecase}