Description
|
Retrieves a list of custom handles, linking a given object to other objects. See also simSetReferencedHandles. |
C synopsis
|
simInt simGetReferencedHandles(simInt objectHandle,simInt** referencedHandles,simInt** reserved1,simInt** reserved2) |
C parameters |
objectHandle: handle of the object that stores the list of handles
referencedHandles: a pointer to a pointer that will be allocated and receive the list of handles. The user is in charge of releasing that buffer with simReleaseBuffer.
reserved1: reserved for future extensions
reserved2: reserved for future extensions
|
C return value
|
-1 in case of an error. Otherwise, the number of handles returned.
|
Lua synopsis
|
table referencedHandles=simGetReferencedHandles(number objectHandle)
|
Lua parameters |
Similar to the C-function
|
Lua return values
|
Similar to the C-function
|