Mercurial > urweb
annotate include/types.h @ 306:99e4f39e820d
Scratch that change....
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 07 Sep 2008 14:38:14 -0400 |
parents | 1afa94582275 |
children | 9ad92047a499 |
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; |
adamc@295 | 20 |
adamc@295 | 21 |
adamc@295 | 22 #define INTS_MAX 50 |
adamc@295 | 23 #define FLOATS_MAX 100 |