Extern support for getting a userdata type by hash id
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2019-08-15 16:42:18 +02:00
parent 8e64da15a0
commit 0d30d788e9
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 8 additions and 0 deletions

View File

@ -1,2 +1,10 @@
#include "UserDataScriptType.hpp"
namespace Porygon::UserData{
extern "C"{
UserDataScriptType* CreateUserDataType(uint32_t id){
return new UserDataScriptType(id);
}
}
}