mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
(trunk libT) make libtransmission/makemeta.h C++-safe
This commit is contained in:
parent
d1c6956598
commit
ce92e45936
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue