mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Eliminate DefineConsoleFunction
This commit is contained in:
parent
037d089c4d
commit
5bde18143f
55 changed files with 314 additions and 332 deletions
|
|
@ -436,7 +436,7 @@ extern "C" {
|
|||
// By default, it is marked as secure by the web plugins and then can be called from
|
||||
// Javascript on the web page to ensure that function calls across the language
|
||||
// boundry are working with arguments and return values
|
||||
DefineConsoleFunction( testJavaScriptBridge, const char *, (const char* arg1, const char* arg2, const char* arg3), , "testBridge(arg1, arg2, arg3)")
|
||||
DefineEngineFunction( testJavaScriptBridge, const char *, (const char* arg1, const char* arg2, const char* arg3), , "testBridge(arg1, arg2, arg3)")
|
||||
{
|
||||
S32 failed = 0;
|
||||
if (dStrcmp(arg1,"one"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue