2019-06-27 14:48:19 +00:00
|
|
|
#include "UserDataOperation.hpp"
|
2019-09-12 13:21:10 +00:00
|
|
|
|
|
|
|
namespace Porygon::UserData{
|
|
|
|
extern "C" {
|
|
|
|
UserDataBinaryOperation* CreateUserdataBinaryOperation(Evaluation::EvalValue *(*func)(void *, const Evaluation::EvalValue *),
|
|
|
|
ScriptType* secondParameter, ScriptType* returnType){
|
|
|
|
return new UserDataBinaryOperation(func, shared_ptr<const ScriptType>(secondParameter),
|
|
|
|
shared_ptr<const ScriptType>(returnType));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|