C API: add ragephoto_clear()
This commit is contained in:
parent
67ed433f6b
commit
4c43596e2a
3 changed files with 14 additions and 0 deletions
|
|
@ -915,6 +915,12 @@ ragephoto_t ragephoto_open()
|
|||
return static_cast<ragephoto_t>(new RagePhoto);
|
||||
}
|
||||
|
||||
void ragephoto_clear(ragephoto_t instance)
|
||||
{
|
||||
RagePhoto *ragePhoto = static_cast<RagePhoto*>(instance);
|
||||
ragePhoto->clear();
|
||||
}
|
||||
|
||||
int ragephoto_load(ragephoto_t instance, const char *data, size_t size)
|
||||
{
|
||||
RagePhoto *ragePhoto = static_cast<RagePhoto*>(instance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue