Regular API function

simIsDeprecated / sim.isDeprecated

Description Deprecated (yes, what an irony!). Returns 0
C/C++
synopsis
int simIsDeprecated(const char* funcOrConst)
C/C++
parameters
funcOrConst: a script function or constant
C/C++
return value
-1 in case of an error, otherwise the deprecation state (0 or 1)
Lua
synopsis
int result=sim.isDeprecated(string funcOrConst)
Lua
parameters
Similar to the C-function counterpart.
Lua
return values
Similar to the C-function counterpart.
Python
synopsis
int result=sim.isDeprecated(string funcOrConst)