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:

committed by
Alex Medvednikov

parent
97bbe359a2
commit
c3df224c97
@ -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
|
||||
|
Reference in New Issue
Block a user