meta: meta_type_node is no longer static

This commit is contained in:
Michele Caini
2022-08-27 17:04:45 +02:00
parent 443d53400d
commit 93a1d65103
23 changed files with 217 additions and 249 deletions

View File

@@ -33,7 +33,7 @@ void tear_down() {
CR_EXPORT int cr_main(cr_plugin *ctx, cr_op operation) {
switch(operation) {
case CR_LOAD:
entt::meta_ctx::bind(static_cast<userdata *>(ctx->userdata)->ctx);
entt::locator<entt::meta_ctx>::reset(static_cast<userdata *>(ctx->userdata)->ctx);
set_up();
break;
case CR_STEP: