Commit 0426ddad authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Print struct size

parent b127f31e
......@@ -394,6 +394,8 @@ void test_nil(void) {
}
int main(int argc, char **argv) {
printf("redis_protocol_t: %lu bytes\n", sizeof(redis_protocol_t));
printf("redis_parser_t: %lu bytes\n", sizeof(redis_parser_t));
test_string();
test_empty_string();
test_array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment