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
|
||||
|
||||
#ifdef LIBRAGEPHOTO_C_API
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#else
|
||||
#include "libragephoto_global.h"
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#ifdef LIBRAGEPHOTO_C_API
|
||||
|
||||
typedef void* ragephoto_t;
|
||||
|
||||
/** Opens a \p ragephoto_t instance.
|
||||
|
|
Loading…
Reference in a new issue