12 lines
503 B
C++
12 lines
503 B
C++
#include "UserDataOperation.hpp"
|
|
|
|
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));
|
|
}
|
|
}
|
|
}
|