mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +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
|
||||
#define TR_RPC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/***
|
||||
**** RPC processing
|
||||
***/
|
||||
|
@ -41,5 +45,8 @@ void tr_rpc_parse_list_str( struct tr_benc * setme,
|
|||
const char * list_str,
|
||||
int list_str_len );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue