Mercurial > urweb
annotate include/types.h @ 289:0cc956a3216f
Parsing strings for floats and bools
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 07 Sep 2008 11:41:04 -0400 |
parents | ed4af33681d8 |
children | 1afa94582275 |
rev | line source |
---|---|
adamc@276 | 1 typedef long long lw_Basis_int; |
adamc@276 | 2 typedef double 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@189 | 11 typedef enum lw_Basis_bool { lw_Basis_False, lw_Basis_True } lw_Basis_bool; |
adamc@186 | 12 |
adamc@117 | 13 typedef struct lw_context *lw_context; |
adamc@117 | 14 |
adamc@119 | 15 typedef lw_Basis_string lw_Basis_xhtml; |
adamc@139 | 16 typedef lw_Basis_string lw_Basis_page; |
adamc@167 | 17 |
adamc@167 | 18 |
adamc@167 | 19 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY } failure_kind; |