forked from filecoin-project/filecoin-ffi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
filcrypto.yml
38 lines (36 loc) · 791 Bytes
/
filcrypto.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
---
GENERATOR:
PackageName: generated
PackageDescription:
PackageLicense:
Options:
SafeStrings: true
Includes:
- ../filcrypto.h
FlagGroups:
- {name: LDFLAGS, flags: ["-L${SRCDIR}/.. -lfilcrypto"]}
- {name: pkg-config, flags: ["${SRCDIR}/../filcrypto.pc"]}
PARSER:
Defines:
__has_include_next(x): 1
IncludePaths:
- /usr/include
SourcesPaths:
- ./filcrypto.h
TRANSLATOR:
ConstRules:
defines: expand
enum: cgo
PtrTips:
function:
- {target: "^fil_destroy", tips: [ref]}
Rules:
global:
- {action: accept, from: "^fil"}
- {action: accept, from: "^FCPResponseStatus"}
- {transform: export}
private:
- {transform: unexport}
post-global:
- {transform: export}
- {load: snakecase}