1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

make json work with new optionals

This commit is contained in:
Alexander Medvednikov
2019-07-03 21:47:49 +02:00
parent dec0d961f5
commit 8c36b9499d
3 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ string res = tos2("");
}
// cJSON_delete
//p.cgen.fns << '$dec return opt_ok(res); \n}'
p.cgen.fns << '$dec return opt_ok(res, sizeof(res)); \n}'
p.cgen.fns << '$dec return opt_ok(res, sizeof(*res)); \n}'
p.cgen.fns << '/*enc start*/ $enc return o;}'
}