Commit 7a944522 authored by krasimir's avatar krasimir

[project @ 2002-07-28 13:55:32 by krasimir]

add `size` macro
parent 91d33508
......@@ -69,6 +69,9 @@
#define hsc_offset(t, f) \
printf("(%ld)", (long) offsetof (t, f));
#define hsc_size(t) \
printf("(%ld)", (long) sizeof(t));
#define hsc_enum(t, f, print_name, x) \
print_name; \
printf (" :: %s\n", #t); \
......
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