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

add include path for cJSON

This commit is contained in:
musou1500
2019-06-23 16:03:52 +09:00
committed by Alex Medvednikov
parent 97bbe359a2
commit c3df224c97
2 changed files with 8 additions and 4 deletions

View File

@ -4,8 +4,12 @@
module json
// #include "json/cJSON/cJSON.c"
#include "json/cJSON/cJSON.h"
// TODO: windows support
#flag linux -I$HOME/code/v/thirdpaty/cJSON
#flag mac -I$HOME/code/v/thirdpaty/cJSON
// #include "cJSON.c"
#include "cJSON.h"
struct C.cJSON {
valueint int
valuestring byteptr