RagePhoto: update ragephoto_setphotodata function

- RagePhotoTypedefs: add saveSize function
This commit is contained in:
Syping 2023-02-11 22:40:13 +01:00
parent b2e765c2af
commit 659feb0cbf
3 changed files with 8 additions and 3 deletions

View file

@ -1244,9 +1244,9 @@ void ragephoto_setbufferoffsets(ragephoto_t instance)
ragePhoto->setBufferOffsets();
}
ragephoto_bool_t ragephoto_setphotodata(ragephoto_t *instance, RagePhotoData *ragePhotoData)
ragephoto_bool_t ragephoto_setphotodata(ragephoto_t instance, RagePhotoData *ragePhotoData)
{
RagePhoto *ragePhoto = static_cast<RagePhoto*>(*instance);
RagePhoto *ragePhoto = static_cast<RagePhoto*>(instance);
return ragePhoto->setData(ragePhotoData, true);
}