-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathliquid-dsp.yaml
111 lines (109 loc) · 4.65 KB
/
liquid-dsp.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
GENERATOR:
PackageName: liquiddsp
PackageDescription: "Package liquiddsp provides Go bindings for liquid-dsp"
PackageLicense: "THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS."
Includes:
- liquid.h
- liquid.internal.h
SysIncludes:
- inttypes.h
- complex.h
FlagGroups:
- {name: "CFLAGS", flags: [
# "-std=gnu++11",
# "-fext-numeric-literals",
"-msse4.1",
"-Wall",
"-fPIC",
"-I.",
"-I..",
"-I../include",
]}
- {name: "LDFLAGS", flags: [
"-lm",
"${SRCDIR}/../libliquid.a",
]}
PARSER:
IncludePaths:
- /usr/include
- /usr/include/linux
- include/
- liquiddsp/
SourcesPaths:
- include/liquid.h
- include/liquid.internal.h
Defines:
__linux__: 1
# HAVE_COMPLEX_H: 1
# LIQUID_USE_COMPLEX_H: 1
TRANSLATOR:
ConstRules:
defines: eval
enum: eval
Rules:
global:
- {transform: lower}
# - {action: accept, from: "^gmskmod"}
# - {action: accept, from: "^gmskdem"}
# - {action: accept, from: "^liquid_float_complex$"}
- {action: accept, from: "^modulation_scheme$"}
- {action: accept, from: "^crc_scheme$"}
- {action: accept, from: "^fec_scheme$"}
- {action: accept, from: "^LIQUID_MODEM_"}
- {action: accept, from: "^LIQUID_CRC_"}
- {action: accept, from: "^LIQUID_FEC_"}
- {action: accept, from: "^qpacketmodem"}
# - {action: replace, from: "^flexframesync_create", to: "XXXX_flexframesync_create_BROKEN"}
- {action: accept, from: "^flexframesync"}
- {action: accept, from: "^flexframegen"}
# - {action: accept, from: "^framesync_callback"}
- {action: accept, from: "^framesyncstats"}
- {action: accept, from: "^framedata"}
- {action: accept, from: "^count_bit_errors_array$"}
- {action: accept, from: "^liquid_count_ones$"}
- {action: accept, from: "^randnf$"}
- {action: replace, from: "^flexframesync_reset_framedatastats", to: "flex_frame_sync_reset_frame_data_stats"}
- {action: replace, from: "^flexframesync_get_framedatastats", to: "flex_frame_sync_get_frame_data_stats"}
- {action: replace, from: "^framesync_callback", to: "frame_sync_callback"}
- {action: replace, from: "^flexframesync", to: "flex_frame_sync"}
- {action: replace, from: "^flexframegenprops", to: "flex_frame_gen_props"}
- {action: replace, from: "getprops", to: "get_props"}
- {action: replace, from: "setprops", to: "set_props"}
- {action: replace, from: "getframelen", to: "get_frame_len"}
- {action: replace, from: "^flexframegen", to: "flex_frame_gen"}
- {action: replace, from: "^framesyncstats", to: "frame_sync_stats"}
- {action: replace, from: "^framedatastats", to: "frame_data_stats"}
- {transform: export}
type:
- {action: replace, from: "_s$", to: "_t"}
- {action: replace, from: "_t$"}
private:
- {transform: unexport}
# function:
# - {action: replace, from: "^Gmskmod_([a-zA-Z0-9]+)", to: "(Q GMSKMod) $1"}
post-global:
# - {action: replace, from: "_q Gmskmod", to: "("}
# - {action: replace, from: "Gmskmod", to: GMSKMod}
# - {action: replace, from: "Gmskdem", to: GMSKDemod}
- {action: replace, from: _$}
- {load: snakecase}
# - {action: replace, from: "^Complexfloat$", to: "complex64"}
PtrTips:
type:
- {target: "^framesyncstats_s$", tips: [0, 0, 0, arr, 0, 0, 0, 0, 0, 0]}
function:
- {target: "^flexframegenprops_init_default$", tips: [sref]}
- {target: "^flexframegen_write_samples$", tips: [0, ref, 0]}
- {target: "^flexframegen_getprops$", tips: [0, sref]}
- {target: "^flexframegen_setprops$", tips: [0, sref]}
- {target: "^flexframegen_set_header_props$", tips: [0, sref]}
- {target: "^flexframegen_create$", tips: [sref]}
- {target: "^flexframesync_set_header_props$", tips: [0, sref]}
- {target: "^flexframesync_execute$", tips: [0, ref, 0]}
- {target: "^framesyncstats_print$", tips: [ref]}
TypeTips:
type:
- {target: "^framesyncstats_s$", tips: [0, 0, 0, 0, 0, plain, 0, 0, 0, 0]}
function:
- {target: "^flexframegen_write_samples$", tips: [0, named, 0]}