mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2025-04-25 10:26:03 +00:00
Format source code and apply license.
This commit is contained in:
parent
ffc91b9114
commit
7e21b2bfce
5 changed files with 57 additions and 33 deletions
|
@ -1009,10 +1009,10 @@ Main(Array * args)
|
|||
StreamPrintf(implFile, " for (i = 0; i < ArraySize(val->%s); i++)\n", key);
|
||||
StreamPrintf(implFile, " {\n");
|
||||
StreamPrintf(implFile, " %sFree(ArrayGet(val->%s, i));\n", (!isEnum && !isPrimitive) ? fieldType : "", key);
|
||||
if (!isEnum && !isPrimitive)
|
||||
{
|
||||
StreamPrintf(implFile, " Free(ArrayGet(val->%s, i));\n", key);
|
||||
}
|
||||
if (!isEnum && !isPrimitive)
|
||||
{
|
||||
StreamPrintf(implFile, " Free(ArrayGet(val->%s, i));\n", key);
|
||||
}
|
||||
StreamPrintf(implFile, " }\n");
|
||||
StreamPrintf(implFile, " ArrayFree(val->%s);\n", key);
|
||||
StreamPrintf(implFile, " }\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue