2019-06-14 12:59:38 +00:00
|
|
|
|
|
|
|
#include "UserDataValue.hpp"
|
2019-06-14 20:21:33 +00:00
|
|
|
|
2019-06-17 16:35:12 +00:00
|
|
|
namespace Porygon::UserData {
|
|
|
|
extern "C" {
|
|
|
|
UserDataValue *CreateUserDataEvalValue(uint32_t typeHash, void *obj) {
|
2019-06-14 20:21:33 +00:00
|
|
|
return new UserDataValue(typeHash, obj);
|
|
|
|
}
|
2019-06-21 21:07:17 +00:00
|
|
|
|
|
|
|
void* EvaluateUserDataObj(UserDataValue *v){
|
|
|
|
return v -> GetObjectPointer();
|
|
|
|
}
|
|
|
|
|
2019-06-17 16:35:12 +00:00
|
|
|
}
|
2019-06-14 20:21:33 +00:00
|
|
|
}
|