-
Notifications
You must be signed in to change notification settings - Fork 4
/
nimlibxlsxwriter.cfg
164 lines (127 loc) · 3.03 KB
/
nimlibxlsxwriter.cfg
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[n.global]
output = nimlibxlsxwriter
quotes = true
[n.include]
nimlibxlsxwriter
nimlibxlsxwriter/include
nimlibxlsxwriter/include/xlsxwriter
[n.prepare]
gitremote = "https://github.com/jmcnamara/libxlsxwriter"
gitsparse = """
include/*
include/xlsxwriter/*
"""
[include/xlsxwriter.h]
preprocess = true
defines = true
recurse = true
dynlib.win = libxlsxwriter.dll
dynlib.lin = libxlsxwriter.so
dynlib.osx = libxlsxwriter.dylib
[n.wildcard]
wildcard = "*.nim"
search.8t = "8_t"
replace.8t = "8"
search.16t = "16_t"
replace.16t = "16"
search.32t = "32_t"
replace.32t = "32"
[chart.nim]
search.chs = """
lxw_chart_series_list* {.bycopy.} = object
stqh_first*: ptr lxw_chart_series
stqh_last*: ptr ptr lxw_chart_series
lxw_series_data_points* {.bycopy.} = object
stqh_first*: ptr lxw_series_data_point
stqh_last*: ptr ptr lxw_series_data_point
"""
replace.chs = """"""
search.ser = " lxw_series_range*"
prepend.ser = """
lxw_series_data_points* {.bycopy.} = object
stqh_first*: ptr lxw_series_data_point
stqh_last*: ptr ptr lxw_series_data_point
"""
search.lpt = " list_pointers*: INNER_C_STRUCT_3682862508"
append.lpt = """
lxw_chart_series_list* {.bycopy.} = object
stqh_first*: ptr lxw_chart_series
stqh_last*: ptr ptr lxw_chart_series
"""
[common.nim]
search.tr = "import tree"
append.tr = """
import hash_table
export hash_table.lxw_hash_table
from format import lxw_format
"""
[chartsheet.nim]
search.iu = "import utility"
append.iu = "\nimport chart\nimport format\n"
[drawing.nim]
search.dobs = """
lxw_drawing_objects* {.bycopy.} = object
stqh_first*: ptr lxw_drawing_object
stqh_last*: ptr ptr lxw_drawing_object
lxw_drawing_types"""
replace.dobs = """
lxw_drawing_types"""
search.dts = " lxw_drawing*"
prepend.dts = """
lxw_drawing_objects* {.bycopy.} = object
stqh_first*: ptr lxw_drawing_object
stqh_last*: ptr ptr lxw_drawing_object
"""
[format.nim]
search.ht = "import hash_table"
replace.ht = ""
[hash_table.nim]
search.ef = "import common"
append.ef = "\nexport format"
[shared_strings.nim]
line
[styles.nim]
search.32t = "32_t"
replace.32t = "32"
search.lxwformats = "lxw_formats"
replace.lxwformats = "lxw_format"
[utility.nim]
line
[workbook.nim]
search.ic2 = "import common"
append.ic2 = "\nimport times\nimport format"
search.time = "time_t"
replace.time = "Time"
[worksheet.nim]
search.szo = "(sizeof(("
replace.szo = ""
search.szo2 = ") * 2)),"
replace.szo2 = ".len * 2,"
search.rtuples = "lxw_worksheet* {.bycopy.} = object"
prepend.rtuples = "lxw_rel_tuples* = object\n\n "
[xmlwriter.nim]
line
[xlsxwriter.nim]
search.iwb = "import workbook"
append.iwb = "\nexport workbook"
search.iws = "import worksheet"
append.iws = "\nexport worksheet"
search.f = "import format"
append.f = "\nexport format"
search.u = "import utility"
append.u = """
export utility
import tree
export tree
import shared_strings
export shared_strings
import common
export common
import hash_table
export hash_table
import drawing
export drawing
import chart
export chart
import queue
export queue"""