Misc helpers for device drivers.
More...
Go to the source code of this file.
|
#define | U_DEVICE_ALLOCATE(type, flags, num_inputs, num_outputs) |
|
|
enum | u_device_alloc_flags { U_DEVICE_ALLOC_HMD = 1 << 0,
U_DEVICE_ALLOC_TRACKING_NONE = 1 << 1
} |
|
Misc helpers for device drivers.
- Author
- Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
◆ U_DEVICE_ALLOCATE
#define U_DEVICE_ALLOCATE |
( |
|
type, |
|
|
|
flags, |
|
|
|
num_inputs, |
|
|
|
num_outputs |
|
) |
| |
Value: num_outputs))
void * u_device_allocate(enum u_device_alloc_flags flags, size_t size, size_t num_inputs, size_t num_outputs)
Helper function to allocate a device plus inputs in the same allocation placed after the device in me...
Definition: u_device.c:221