meta: reset is now part of meta_type

This commit is contained in:
Michele Caini
2020-08-10 17:23:45 +02:00
parent ead6cb9ca3
commit 0ac07e2e83
8 changed files with 71 additions and 85 deletions

View File

@@ -2,6 +2,7 @@
#include <entt/core/hashed_string.hpp>
#include <entt/meta/factory.hpp>
#include <entt/meta/meta.hpp>
#include <entt/meta/resolve.hpp>
#include "types.h"
position create_position(int x, int y) {
@@ -23,8 +24,8 @@ void set_up() {
}
void tear_down() {
entt::meta<position>().reset();
entt::meta<velocity>().reset();
entt::resolve<position>().reset();
entt::resolve<velocity>().reset();
}
CR_EXPORT int cr_main(cr_plugin *ctx, cr_op operation) {