ensure first_log isn't null after append
This commit is contained in:
12
test/util.h
12
test/util.h
@@ -48,8 +48,16 @@ extern void chk_int_eq(
|
||||
extern void chk_ptr_eq(
|
||||
TestState *,
|
||||
const char *, // the error context
|
||||
void *, // the actual value
|
||||
void * // the expected value
|
||||
const void *, // the actual value
|
||||
const void * // the expected value
|
||||
);
|
||||
|
||||
// ensure two pointers are not equal
|
||||
extern void chk_ptr_ne(
|
||||
TestState *,
|
||||
const char *, // the error context
|
||||
const void *, // the actual value
|
||||
const void * // the prohibited value
|
||||
);
|
||||
|
||||
//jl
|
||||
|
||||
Reference in New Issue
Block a user