1
0
Fork 0
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:
Charles Kerr 2009-03-25 00:15:42 +00:00
parent 4b92e07ce0
commit 9ca15eb183

View file

@ -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