summaryrefslogtreecommitdiffstats
path: root/src/interfaces/ecpg/test/preproc/struct.h
blob: 19da316d2e1713c9be4baa6e2130cba48a21fec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
struct mytype
{
	int			id;
	char		t[64];
	double		d1;				/* dec_t */
	double		d2;
	char		c[30];
};
typedef struct mytype MYTYPE;

struct mynulltype
{
	int			id;
	int			t;
	int			d1;
	int			d2;
	int			c;
};
typedef struct mynulltype MYNULLTYPE;