MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / device_set_parent

Function device_set_parent

TactilityKernel/source/device.cpp:259–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void device_set_parent(Device* device, Device* parent) {
260 assert(!device->internal->state.started);
261 device->parent = parent;
262}
263
264Device* device_get_parent(struct Device* device) {
265 return device->parent;

Callers 1

create_child_deviceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected