#define VORTEX_CHECK_REF (   ref,
  return_value 
)
Value:
do { \
if (ref == NULL) { \
return return_value; \
} \
} while (0)

Allows to check the reference provided, and returning the return value provided.

Parameters
refThe reference to be checke for NULL.
return_valueThe return value to return in case of NULL reference.

Referenced by vortex_async_queue_new(), vortex_ctx_new(), vortex_frame_build_up_from_params_s_buffer(), vortex_frame_create_full(), and vortex_frame_create_full_ref().