Work on making userdata work through extern C entry points
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -18,7 +18,7 @@ class Script {
|
||||
friend class Evaluator;
|
||||
|
||||
Evaluator* _evaluator;
|
||||
unordered_map<size_t, shared_ptr<EvalValue>>* _scriptVariables;
|
||||
unordered_map<uint32_t, shared_ptr<EvalValue>>* _scriptVariables;
|
||||
BoundScriptStatement* _boundScript;
|
||||
shared_ptr<ScriptType> _returnType;
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
EvalValue* GetVariable(const string& key);
|
||||
bool HasVariable(const string& key);
|
||||
|
||||
shared_ptr<EvalValue> CallFunction(const string& key, vector<EvalValue*> variables);
|
||||
shared_ptr<EvalValue> CallFunction(const string& key, const vector<EvalValue*>& variables);
|
||||
bool HasFunction(const string& key);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user