skip extern "C" when building without C API
This commit is contained in:
parent
18b92c24f2
commit
5f46f18040
1 changed files with 1 additions and 2 deletions
|
@ -170,14 +170,13 @@ protected:
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef LIBRAGEPHOTO_C_API
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#else
|
#else
|
||||||
#include "libragephoto_global.h"
|
#include "libragephoto_global.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef LIBRAGEPHOTO_C_API
|
|
||||||
|
|
||||||
typedef void* ragephoto_t;
|
typedef void* ragephoto_t;
|
||||||
|
|
||||||
/** Opens a \p ragephoto_t instance.
|
/** Opens a \p ragephoto_t instance.
|
||||||
|
|
Loading…
Reference in a new issue