Mercurial > urweb
annotate include/types.h @ 186:88d46972de53
bool in Basis
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 03 Aug 2008 18:53:20 -0400 |
parents | 2be573fec9a6 |
children | 20bf7487c370 |
rev | line source |
---|---|
adamc@102 | 1 typedef int lw_Basis_int; |
adamc@102 | 2 typedef float lw_Basis_float; |
adamc@102 | 3 typedef char* lw_Basis_string; |
adamc@102 | 4 |
adamc@102 | 5 struct __lws_0 { |
adamc@102 | 6 }; |
adamc@102 | 7 |
adamc@102 | 8 typedef struct __lws_0 lw_unit; |
adamc@119 | 9 typedef lw_unit lw_Basis_unit; |
adamc@117 | 10 |
adamc@186 | 11 enum lw_Basis_bool_enum { lw_Basis_False, lw_Basis_True }; |
adamc@186 | 12 |
adamc@186 | 13 typedef struct lw_Basis_bool { |
adamc@186 | 14 enum lw_Basis_bool_enum tag; |
adamc@186 | 15 } *lw_Basis_bool; |
adamc@186 | 16 |
adamc@117 | 17 typedef struct lw_context *lw_context; |
adamc@117 | 18 |
adamc@119 | 19 typedef lw_Basis_string lw_Basis_xhtml; |
adamc@139 | 20 typedef lw_Basis_string lw_Basis_page; |
adamc@167 | 21 |
adamc@167 | 22 |
adamc@167 | 23 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY } failure_kind; |