make json.h friendly to C++

This commit is contained in:
Charles Kerr 2009-03-23 00:08:34 +00:00
parent 8158ec60b3
commit 9fceeeae57
1 changed files with 8 additions and 0 deletions

View File

@ -12,9 +12,17 @@
#ifndef TR_JSON_H
#ifdef __cplusplus
extern "C" {
#endif
int tr_jsonParse( const void * vbuf,
size_t len,
struct tr_benc * setme_benc,
const uint8_t ** setme_end );
#ifdef __cplusplus
}
#endif
#endif