mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22:12 +00:00
Warn on function doesn't exit
This commit is contained in:
parent
ec0e412217
commit
26cc5eeeb4
@ -112,6 +112,8 @@ any CPPFunction(string name, vector<any> args)
|
||||
cout << AnyAsString(args[0]);
|
||||
else if (name == "CPP.System.PrintLine")
|
||||
cout << AnyAsString(args[0]) << endl;
|
||||
else
|
||||
LogWarning("CPP function \'" + name + "\' does not exist.")
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user