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

vfmt: add missing imports automatically

This commit is contained in:
Alexander Medvednikov
2020-04-12 17:45:04 +02:00
parent d55f4ab097
commit 0db0c642c3
6 changed files with 278 additions and 188 deletions

View File

@@ -12,6 +12,14 @@ struct C.cJSON {
valuestring byteptr
}
pub fn decode() voidptr {
}
pub fn encode() voidptr {
}
fn jsdecode_int(root &C.cJSON) int {
if isnil(root) {
return 0