mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
(trunk libT) make libtransmission/makemeta.h C++-safe
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
#ifndef TR_MAKEMETA_H
|
||||
#define TR_MAKEMETA_H 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct tr_metainfo_builder_file
|
||||
{
|
||||
char * filename;
|
||||
@@ -115,4 +119,8 @@ void tr_makeMetaInfo( tr_metainfo_builder * builder,
|
||||
int isPrivate );
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user