-
Notifications
You must be signed in to change notification settings - Fork 0
/
decklink.yml
52 lines (49 loc) · 1.16 KB
/
decklink.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
GENERATOR:
PackageName: decklink
PackageDescription: "Package Decklink provides go bindings for the Blackmagic Decklink SDK"
PackageLicense: "THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS."
Includes:
- DeckLinkAPI.h
SysIncludes:
- stdint.h
- <CoreFoundation/CoreFoundation.h>
Options:
SafeStrings: true
FlagGroups:
- name: CFLAGS
traits: ["darwin"]
flags:
- "-framework CoreFoundation"
- name: LDFLAGS
traits: ["darwin"]
flags:
- "-framework CoreFoundation"
PARSER:
IncludePaths:
- /usr/include
- /usr/local/include
SourcesPaths:
- ./sdk/Mac/include/DeckLinkAPI.h
Arch: arm64
TRANSLATOR:
ConstCharIsString: true
ConstUCharIsString: false
ConstRules:
defines: expand
enum: eval
Rules:
global:
# - {transform: lower}
- {action: accept, from: "^BMD"}
- {action: accept, from: "^IDeck"}
- {action: accept, from: "^Create"}
const:
- {action: accept}
function:
- {action: accept}
type:
- {action: replace}
private:
- {transform: unexport}
# post-global:
# - {action: replace, from: _$}