-
Notifications
You must be signed in to change notification settings - Fork 1
/
solana-ffi.yml
55 lines (53 loc) · 1.31 KB
/
solana-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
51
52
53
54
55
---
GENERATOR:
PackageName: cgo
PackageDescription:
PackageLicense:
Options:
SafeStrings: true
Includes:
- solana-ffi.h
FlagGroups:
- {name: "LDFLAGS", flags: [
"-L${SRCDIR}",
"-lsolana_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/solana-ffi.h
TRANSLATOR:
Rules:
function:
- {action: accept, from: "unique_pubkey"}
- {action: accept, from: "program_derived_address"}
- {action: accept, from: "address"}
- {action: accept, from: "associated_token_account"}
- {action: accept, from: "gateway_initialize"}
- {action: accept, from: "gateway_initialize_account"}
- {action: accept, from: "gateway_get_burn_count"}
- {action: accept, from: "gateway_mint"}
- {action: accept, from: "gateway_burn"}
private:
- {transform: unexport}
post-global:
- {transform: export}
- {load: snakecase}