-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathezkl-ffi.yml
50 lines (48 loc) · 1.03 KB
/
ezkl-ffi.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
---
GENERATOR:
PackageName: cgo
PackageDescription:
PackageLicense:
Options:
SafeStrings: true
Includes:
- ezkl-ffi.h
FlagGroups:
- {name: "LDFLAGS", flags: [
"-L${SRCDIR}",
"-lezkl_ffi",
]}
- {name: "linux LDFLAGS", flags: [
"-lcrypto",
"-ldl",
"-lm",
"-lrt",
"-lssl",
"-ludev",
]}
- {name: "darwin LDFLAGS", flags: [
"-F/Library/Frameworks",
"-framework Security",
"-framework CoreServices",
"-framework IOKit",
"-framework IOSurface",
"-framework AppKit",
]}
PARSER:
Defines:
IncludePaths:
- /usr/include
SourcesPaths:
- ./cgo/ezkl-ffi.h
TRANSLATOR:
Rules:
function:
- {action: accept, from: "verify_proof"}
- {action: accept, from: "prove"}
- {action: accept, from: "gen_vk"}
- {action: accept, from: "gen_pk"}
private:
- {transform: unexport}
post-global:
- {transform: export}
- {load: snakecase}