Added to libisoburn.h "extern C" for C++, and protection against double include

This commit is contained in:
Thomas Schmitt 2016-03-15 20:34:09 +00:00
parent f7b10f6eb8
commit 5a7155d8a4
2 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,7 @@
#ifndef LIBISOBURN_LIBISOBURN_H_
#define LIBISOBURN_LIBISOBURN_H_
/* /*
Lower level API definition of libisoburn. Lower level API definition of libisoburn.
@ -7,6 +10,10 @@
Provided under GPL version 2 or later. Provided under GPL version 2 or later.
*/ */
#ifdef __cplusplus
extern "C" {
#endif
/** Overview /** Overview
libisoburn is a frontend for libraries libburn and libisofs which enables libisoburn is a frontend for libraries libburn and libisofs which enables
@ -2583,3 +2590,9 @@ int isoburn_needs_emulation(struct burn_drive *d);
/* no tests active, currently */ /* no tests active, currently */
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* LIBISOBURN_LIBISOBURN_H_ */

View File

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