Added "extern C" to xorriso.h

This commit is contained in:
Thomas Schmitt 2016-03-15 20:35:51 +00:00
parent 5a7155d8a4
commit 674f572fc4
2 changed files with 9 additions and 1 deletions

View File

@ -48,6 +48,11 @@
#ifndef Xorriso_includeD #ifndef Xorriso_includeD
#define Xorriso_includeD yes #define Xorriso_includeD yes
#ifdef __cplusplus
extern "C" {
#endif
/** Opaque handle of the xorriso runtime context */ /** Opaque handle of the xorriso runtime context */
struct XorrisO; struct XorrisO;
@ -2158,6 +2163,9 @@ int Xorriso_option_xattr(struct XorrisO *xorriso, char *mode, int flag);
/* @since 0.3.8 */ /* @since 0.3.8 */
int Xorriso_option_zisofs(struct XorrisO *xorriso, char *mode, int flag); int Xorriso_option_zisofs(struct XorrisO *xorriso, char *mode, int flag);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* Xorriso_includeD */ #endif /* Xorriso_includeD */

View File

@ -1 +1 @@
#define Xorriso_timestamP "2016.03.15.203403" #define Xorriso_timestamP "2016.03.15.203626"