libragephoto: use void* for C++ and RagePhotoInstance for C
This commit is contained in:
parent
73ae014730
commit
93a8d83fde
1 changed files with 4 additions and 0 deletions
|
|
@ -35,7 +35,11 @@ extern "C" {
|
||||||
/** RagePhoto typedef for C instance/C++ object.
|
/** RagePhoto typedef for C instance/C++ object.
|
||||||
* \memberof RagePhotoInstance
|
* \memberof RagePhotoInstance
|
||||||
*/
|
*/
|
||||||
|
#ifdef LIBRAGEPHOTO_C_ONLY
|
||||||
typedef RagePhotoInstance* ragephoto_t;
|
typedef RagePhotoInstance* ragephoto_t;
|
||||||
|
#else
|
||||||
|
typedef void* ragephoto_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Opens a \p ragephoto_t instance.
|
/** Opens a \p ragephoto_t instance.
|
||||||
* \memberof RagePhotoInstance
|
* \memberof RagePhotoInstance
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue