mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-13 09:02:10 +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]);
|
cout << AnyAsString(args[0]);
|
||||||
else if (name == "CPP.System.PrintLine")
|
else if (name == "CPP.System.PrintLine")
|
||||||
cout << AnyAsString(args[0]) << endl;
|
cout << AnyAsString(args[0]) << endl;
|
||||||
|
else
|
||||||
|
LogWarning("CPP function \'" + name + "\' does not exist.")
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user