Home
last modified time | relevance | path

Searched refs:type_magic (Results 1 – 1 of 1) sorted by relevance

/freebsd-14.2/usr.sbin/fifolog/lib/
H A Dminiobj.h29 #define ALLOC_OBJ(to, type_magic) \ argument
33 (to)->magic = (type_magic); \
42 #define VALID_OBJ(ptr, type_magic) \ argument
45 #define CHECK_OBJ(ptr, type_magic) \ argument
47 assert((ptr)->magic == type_magic); \
53 assert((ptr)->magic == type_magic); \
56 #define CHECK_OBJ_ORNULL(ptr, type_magic) \ argument
59 assert((ptr)->magic == type_magic); \
62 #define CAST_OBJ(to, from, type_magic) \ argument
66 CHECK_OBJ((to), (type_magic)); \
[all …]