libragephoto: use void* for C++ and RagePhotoInstance for C

This commit is contained in:
Syping 2025-10-31 16:40:22 +01:00
parent 73ae014730
commit 93a8d83fde

View file

@ -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