File: sizes.c

package info (click to toggle)
romeo 0.5.0-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 476 kB
  • ctags: 1,086
  • sloc: ansic: 7,535; makefile: 98
file content (35 lines) | stat: -rw-r--r-- 1,263 bytes parent folder | download | duplicates (2)
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;
}