Extern support for getting a userdata type by hash id
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8e64da15a0
commit
0d30d788e9
|
@ -1,2 +1,10 @@
|
|||
|
||||
#include "UserDataScriptType.hpp"
|
||||
|
||||
namespace Porygon::UserData{
|
||||
extern "C"{
|
||||
UserDataScriptType* CreateUserDataType(uint32_t id){
|
||||
return new UserDataScriptType(id);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue