mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
(trunk libT) wrap rpcimpl.h in 'namespace "C"' when #included from C++
This commit is contained in:
parent
4b92e07ce0
commit
9ca15eb183
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,10 @@
|
||||||
#ifndef TR_RPC_H
|
#ifndef TR_RPC_H
|
||||||
#define TR_RPC_H
|
#define TR_RPC_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/***
|
/***
|
||||||
**** RPC processing
|
**** RPC processing
|
||||||
***/
|
***/
|
||||||
|
@ -41,5 +45,8 @@ void tr_rpc_parse_list_str( struct tr_benc * setme,
|
||||||
const char * list_str,
|
const char * list_str,
|
||||||
int list_str_len );
|
int list_str_len );
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue