-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpm.yml
More file actions
37 lines (35 loc) · 990 Bytes
/
Copy pathpm.yml
File metadata and controls
37 lines (35 loc) · 990 Bytes
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
---
GENERATOR:
PackageName: pm
PackageDescription: "Package pm provides Go bindings for portmidi."
PackageLicense: "THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS."
Includes: ["portmidi.h"]
FlagGroups:
- {name: LDFLAGS, flags: [-lportmidi]}
PARSER:
IncludePaths: ["/usr/include"]
SourcesPaths: ["pm/portmidi.h"]
TRANSLATOR:
ConstRules:
defines: expand
PtrTips:
function:
- {target: "_OpenOutput$", tips: [ref]}
- {target: "_OpenInput$", tips: [ref]}
Rules:
global:
- {action: accept, from: "(?i)^Pm"}
- {action: replace, from: "(?i)^Pm"}
- {action: accept, from: "^PortMidi"}
- {transform: export}
const:
- {action: ignore, from: PMEXPORT}
- {action: ignore, from: PmStream}
- {transform: lower}
type:
- {action: replace, from: "_t$"}
private:
- {transform: unexport}
post-global:
- {action: replace, from: _$}
- {load: snakecase}