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:
parent
8158ec60b3
commit
9fceeeae57
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue