comparison include/types.h @ 189:20bf7487c370

Update bool to follow datatype representation change
author Adam Chlipala <adamc@hcoop.net>
date Sun, 03 Aug 2008 19:52:37 -0400
parents 88d46972de53
children ed4af33681d8
comparison
equal deleted inserted replaced
188:8e9f97508f0d 189:20bf7487c370
6 }; 6 };
7 7
8 typedef struct __lws_0 lw_unit; 8 typedef struct __lws_0 lw_unit;
9 typedef lw_unit lw_Basis_unit; 9 typedef lw_unit lw_Basis_unit;
10 10
11 enum lw_Basis_bool_enum { lw_Basis_False, lw_Basis_True }; 11 typedef enum lw_Basis_bool { lw_Basis_False, lw_Basis_True } lw_Basis_bool;
12
13 typedef struct lw_Basis_bool {
14 enum lw_Basis_bool_enum tag;
15 } *lw_Basis_bool;
16 12
17 typedef struct lw_context *lw_context; 13 typedef struct lw_context *lw_context;
18 14
19 typedef lw_Basis_string lw_Basis_xhtml; 15 typedef lw_Basis_string lw_Basis_xhtml;
20 typedef lw_Basis_string lw_Basis_page; 16 typedef lw_Basis_string lw_Basis_page;