PebbleOS
Loading...
Searching...
No Matches
Macros
struct.h File Reference

Macros

#define NULL_SAFE_FIELD_ACCESS(struct_ptr, field_name, default_value)    ((struct_ptr) ? ((struct_ptr)->field_name) : (default_value))
 Read a structure field through a pointer that may be NULL.