| 329 | } |
| 330 | |
| 331 | size_t device_get_child_count(Device* device) { |
| 332 | return device->internal->children.size(); |
| 333 | } |
| 334 | |
| 335 | void device_for_each_of_type(const DeviceType* type, void* callbackContext, bool(*on_device)(Device* device, void* context)) { |
| 336 | ledger_lock(); |