make json.h friendly to C++
This commit is contained in:
parent
8158ec60b3
commit
9fceeeae57
|
@ -12,9 +12,17 @@
|
||||||
|
|
||||||
#ifndef TR_JSON_H
|
#ifndef TR_JSON_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
int tr_jsonParse( const void * vbuf,
|
int tr_jsonParse( const void * vbuf,
|
||||||
size_t len,
|
size_t len,
|
||||||
struct tr_benc * setme_benc,
|
struct tr_benc * setme_benc,
|
||||||
const uint8_t ** setme_end );
|
const uint8_t ** setme_end );
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue