-
Notifications
You must be signed in to change notification settings - Fork 0
/
pmemkv.yml
55 lines (53 loc) · 2.1 KB
/
pmemkv.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
---
GENERATOR:
PackageName: pmemkv_sys
PackageDescription: "Package pmemkv provides Go bindings for pmemkv."
PackageLicense: "THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS."
FlagGroups:
- {name: LDFLAGS, flags: [-lpmemkv -ltbb]}
Includes: ["libpmemkv.h"]
PARSER:
SourcesPaths: ["libpmemkv.h"]
IncludePaths: ["pmemkv_sys"]
TRANSLATOR:
ConstRules:
defines: eval
enum: eval
Rules:
type:
- {action: accept, from: "KVEngine"}
- {action: accept, from: "KVStatus"}
- {action: accept, from: "^KV.*Callback$"}
- {action: replace, from: "KVEngine", to: "KVEngineSys"}
- {transform: export}
function:
- {action: accept, from: "kvengine_"}
- {action: replace, from: "kvengine_"}
- {transform: export}
private:
- {transform: unexport}
post-global:
- {action: replace, from: _$}
- {load: snakecase}
- {load: doc.google}
PtrTips:
function:
- {target: kvengine_start, tips: [ref, ref, ref, ref]}
- {target: kvengine_stop, tips: [ref]}
- {target: kvengine_all, tips: [ref, ref, ref]}
- {target: kvengine_all_above, tips: [ref, ref, 0, ref, ref]}
- {target: kvengine_all_below, tips: [ref, ref, 0, ref, ref]}
- {target: kvengine_all_between, tips: [ref, ref, 0, ref, 0, ref, ref]}
- {target: kvengine_count, tips: [ref]}
- {target: kvengine_count_above, tips: [ref, 0, ref]}
- {target: kvengine_count_below, tips: [ref, 0, ref]}
- {target: kvengine_count_between, tips: [ref, 0, ref, 0, ref]}
- {target: kvengine_each, tips: [ref, ref, ref]}
- {target: kvengine_each_above, tips: [ref, ref, 0, ref, ref]}
- {target: kvengine_each_below, tips: [ref, ref, 0, ref, ref]}
- {target: kvengine_each_between, tips: [ref, ref, 0, ref, 0, ref, ref]}
- {target: kvengine_exists, tips: [ref, 0, ref]}
- {target: kvengine_get, tips: [ref, ref, 0, ref, ref]}
- {target: kvengine_get_copy, tips: [ref, 0, ref, 0, ref]}
- {target: kvengine_put, tips: [ref, 0, ref, 0, ref]}
- {target: kvengine_remove, tips: [ref, 0, ref]}