-
Notifications
You must be signed in to change notification settings - Fork 0
/
sizes.c
35 lines (33 loc) · 1.23 KB
/
sizes.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <stdio.h>
#include "rom.h"
int main (int argc,
char* argv[])
{
fprintf (stdout, "DatabaseListType: %3d [%04X]\n",
sizeof(DatabaseListType),
sizeof(DatabaseListType));
fprintf (stdout, "DatabaseHdrType: %3d [%04X]\n",
sizeof(DatabaseHdrType),
sizeof(DatabaseHdrType));
fprintf (stdout, "DatabaseDirType: %3d [%04X]\n",
sizeof(DatabaseDirType),
sizeof(DatabaseDirType));
fprintf (stdout, "DatabaseDirEntryType: %3d [%04X]\n",
sizeof(DatabaseDirEntryType),
sizeof(DatabaseDirEntryType));
fprintf (stdout, "-----------------------------------------------\n");
fprintf (stdout, "RecordListType: %3d [%04X]\n",
sizeof(RecordListType),
sizeof(RecordListType));
fprintf (stdout, "RecordEntryType: %3d [%04X]\n",
sizeof(RecordEntryType),
sizeof(RecordEntryType));
fprintf (stdout, "RsrcEntryType: %3d [%04X]\n",
sizeof(RsrcEntryType),
sizeof(RsrcEntryType));
fprintf (stdout, "-----------------------------------------------\n");
fprintf (stdout, "MemChunkHeaderType: %3d [%04X]\n",
sizeof(MemChunkHeaderType),
sizeof(MemChunkHeaderType));
return 0;
}