Regular API function

simCopyStack

Description Duplicates a stack object. See also the other stack functions.
C/C++
synopsis
simInt simCopyStack(simInt stackHandle)
C/C++
parameters
stackHandle: a stack handle obtained with simCreateStack.
C/C++
return value
-1 in case of an error, otherwise the handle of the duplicated stack.
Lua
synopsis
Lua
parameters
Lua
return values
Python
synopsis

<