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.
|
||||
* \memberof RagePhotoInstance
|
||||
*/
|
||||
#ifdef LIBRAGEPHOTO_C_ONLY
|
||||
typedef RagePhotoInstance* ragephoto_t;
|
||||
#else
|
||||
typedef void* ragephoto_t;
|
||||
#endif
|
||||
|
||||
/** Opens a \p ragephoto_t instance.
|
||||
* \memberof RagePhotoInstance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue