add function ragephoto_getphotodata() to the C API
RagePhoto: add function ragephoto_getphotodata() to the C API RagePhotoA: wrap data() function to ragephoto_getphotodata() RagePhotoC: update header for ragephoto_getphotodata() RagePhotoData: improve header include statement
This commit is contained in:
parent
d7e31ecada
commit
13650527be
4 changed files with 17 additions and 1 deletions
|
|
@ -1082,6 +1082,12 @@ uint32_t ragephoto_format_rdr2()
|
|||
return RagePhoto::RDR2;
|
||||
}
|
||||
|
||||
RagePhotoData* ragephoto_getphotodata(ragephoto_t instance)
|
||||
{
|
||||
RagePhoto *ragePhoto = static_cast<RagePhoto*>(instance);
|
||||
return ragePhoto->data();
|
||||
}
|
||||
|
||||
const char* ragephoto_getphotodesc(ragephoto_t instance)
|
||||
{
|
||||
RagePhoto *ragePhoto = static_cast<RagePhoto*>(instance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue