Home
last modified time | relevance | path

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

/freebsd-12.1/usr.sbin/fifolog/lib/
H A Dminiobj.h31 #define ALLOC_OBJ(to, type_magic) \ argument
35 (to)->magic = (type_magic); \
44 #define VALID_OBJ(ptr, type_magic) \ argument
47 #define CHECK_OBJ(ptr, type_magic) \ argument
49 assert((ptr)->magic == type_magic); \
55 assert((ptr)->magic == type_magic); \
58 #define CHECK_OBJ_ORNULL(ptr, type_magic) \ argument
61 assert((ptr)->magic == type_magic); \
64 #define CAST_OBJ(to, from, type_magic) \ argument
68 CHECK_OBJ((to), (type_magic)); \
[all …]