made compare_ints() and compare_ptrs() accessible from outside util

This commit is contained in:
jlamothe
2023-11-10 22:44:42 +00:00
parent a14b11e853
commit 3309ac7aee
2 changed files with 52 additions and 52 deletions

View File

@@ -36,4 +36,20 @@ extern void compare_states(
const TestState * // actual state
);
// compare two ints
extern void compare_ints(
TestState *,
const char *, // the error context
int, // the expected value
int // the actual value
);
// compare two pointers
extern void compare_ptrs(
TestState *,
const char *, // the error context
void *, // the expected value
void * // the actual value
);
//jl