diff --git a/src/UserData/UserDataScriptType.cpp b/src/UserData/UserDataScriptType.cpp index 27f872d..842cc75 100644 --- a/src/UserData/UserDataScriptType.cpp +++ b/src/UserData/UserDataScriptType.cpp @@ -1,2 +1,10 @@ #include "UserDataScriptType.hpp" + +namespace Porygon::UserData{ +extern "C"{ +UserDataScriptType* CreateUserDataType(uint32_t id){ + return new UserDataScriptType(id); +} +} +} \ No newline at end of file