Mercurial > pub > dyncall > dyncall
comparison test/call_suite_aggrs/mk-cases.lua @ 500:7426cfbe92d5
- call_suite_aggrs; removal of old isPod logic
author | Tassilo Philipp |
---|---|
date | Mon, 04 Apr 2022 16:28:26 +0200 |
parents | da5232da6270 |
children | 62c3746390da |
comparison
equal
deleted
inserted
replaced
499:fc614cb865c6 | 500:7426cfbe92d5 |
---|---|
217 io.write(table.concat(b,o[t+4]).."; };\n") | 217 io.write(table.concat(b,o[t+4]).."; };\n") |
218 end | 218 end |
219 end | 219 end |
220 | 220 |
221 -- convenient dcnewstruct helper funcs | 221 -- convenient dcnewstruct helper funcs |
222 io.write('DCaggr* f_touchdcst'..at:sub(8)..'() {\n\tstatic DCaggr* at = NULL;\n\tif(!at) {\n\t\tat = dcNewAggr('..(#am>>1)..', sizeof('..at..'), DC_TRUE);\n\t\t') | 222 io.write('DCaggr* f_touchdcst'..at:sub(8)..'() {\n\tstatic DCaggr* at = NULL;\n\tif(!at) {\n\t\tat = dcNewAggr('..(#am>>1)..', sizeof('..at..'));\n\t\t') |
223 for i = 1, #am, 2 do | 223 for i = 1, #am, 2 do |
224 local m = split_array_decl(am[i+1]) | 224 local m = split_array_decl(am[i+1]) |
225 if m[2] == nil then -- need array suffixes? | 225 if m[2] == nil then -- need array suffixes? |
226 m[2] = 1 | 226 m[2] = 1 |
227 end | 227 end |