feature: making rive::File rcp (#10439) 213f07ec13

* feature: making rive::File rcp

* fixes

* fix: recorder

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
This commit is contained in:
luigi-rosso
2025-08-22 15:58:24 +00:00
parent 4e0836dbf9
commit 08f276b192
17 changed files with 40 additions and 55 deletions

View File

@@ -138,7 +138,7 @@ static void dump(JSoner& js, rive::File* file)
js.pop();
}
static std::unique_ptr<rive::File> open_file(const char name[])
static rcp<rive::File> open_file(const char name[])
{
FILE* f = fopen(name, "rb");
if (!f)