Home
last modified time | relevance | path

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

/freebsd/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
43 ((ptr) != NULL && (ptr)->magic == (type_magic))
45 #define CHECK_OBJ(ptr, type_magic) \ argument
47 assert((ptr)->magic == type_magic); \
50 #define CHECK_OBJ_NOTNULL(ptr, type_magic) \ argument
53 assert((ptr)->magic == type_magic); \
56 #define CHECK_OBJ_ORNULL(ptr, type_magic) \ argument
59 assert((ptr)->magic == type_magic); \
[all …]