u/var: Add u_sink_debug

This commit is contained in:
Jakob Bornecrantz 2021-09-15 22:36:14 +01:00
parent da628514d8
commit b8055eba6a

View file

@ -20,6 +20,7 @@ extern "C" {
struct xrt_frame_sink;
struct u_sink_debug;
struct m_ff_f64;
struct m_ff_vec3_f32;
@ -99,6 +100,7 @@ enum u_var_kind
U_VAR_KIND_VEC3_F32,
U_VAR_KIND_POSE,
U_VAR_KIND_SINK,
U_VAR_KIND_SINK_DEBUG,
U_VAR_KIND_LOG_LEVEL,
U_VAR_KIND_RO_TEXT,
U_VAR_KIND_RO_I32,
@ -204,6 +206,7 @@ u_var_force_on(void);
ADD_FUNC(vec3_f32, struct xrt_vec3, VEC3_F32) \
ADD_FUNC(pose, struct xrt_pose, POSE) \
ADD_FUNC(sink, struct xrt_frame_sink *, SINK) \
ADD_FUNC(sink_debug, struct u_sink_debug, SINK_DEBUG) \
ADD_FUNC(log_level, enum u_logging_level, LOG_LEVEL) \
ADD_FUNC(ro_text, const char, RO_TEXT) \
ADD_FUNC(ro_i32, int32_t, RO_I32) \