diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-08-03 19:52:37 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-08-03 19:52:37 -0400 |
commit | befe86e703563f4f9ce8b8b0e36ae19e84b0ca8b (patch) | |
tree | 4c44f5f19f76527658cb7bbaf1f2f170d2f695e1 /include | |
parent | 744cdbb9e3907db9bb01576750634c614147e1a3 (diff) |
Update bool to follow datatype representation change
Diffstat (limited to 'include')
-rw-r--r-- | include/types.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/types.h b/include/types.h index d5d2b202..afd4ff45 100644 --- a/include/types.h +++ b/include/types.h @@ -8,11 +8,7 @@ struct __lws_0 { typedef struct __lws_0 lw_unit; typedef lw_unit lw_Basis_unit; -enum lw_Basis_bool_enum { lw_Basis_False, lw_Basis_True }; - -typedef struct lw_Basis_bool { - enum lw_Basis_bool_enum tag; -} *lw_Basis_bool; +typedef enum lw_Basis_bool { lw_Basis_False, lw_Basis_True } lw_Basis_bool; typedef struct lw_context *lw_context; |