1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

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

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