Lav_PUBLIC_FUNCTION LavError Lav_bufferGetSimulation(LavHandle handle, LavHandle* destination) { PUB_BEGIN auto b= incomingObject<Buffer>(handle); *destination = outgoingObject(b->getSimulation()); PUB_END }
Lav_PUBLIC_FUNCTION LavError Lav_nodeGetSimulation(LavHandle handle, LavHandle* destination) { PUB_BEGIN auto n = incomingObject<Node>(handle); *destination = outgoingObject(n->getSimulation()); PUB_END }