comparison include/types.h @ 1431:4a6f84092399

Represent 'unit' as C 'int'; change pattern match compilation to avoid 'goto'; change Postgres prepared statement compilation to make life easier for the GCC escape analysis; all this in support of better tail call optimization
author Adam Chlipala <adam@chlipala.net>
date Thu, 10 Mar 2011 18:51:15 -0500
parents 44a12a321150
children 36f7d1debb37
comparison
equal deleted inserted replaced
1430:36c0a1be3f5a 1431:4a6f84092399
16 typedef struct { 16 typedef struct {
17 size_t size; 17 size_t size;
18 char *data; 18 char *data;
19 } uw_Basis_blob; 19 } uw_Basis_blob;
20 20
21 struct __uws_0 { 21 typedef int uw_unit;
22 };
23
24 typedef struct __uws_0 uw_unit;
25 typedef uw_unit uw_Basis_unit; 22 typedef uw_unit uw_Basis_unit;
26 23
27 typedef enum uw_Basis_bool { uw_Basis_False, uw_Basis_True } uw_Basis_bool; 24 typedef enum uw_Basis_bool { uw_Basis_False, uw_Basis_True } uw_Basis_bool;
28 25
29 typedef struct uw_context *uw_context; 26 typedef struct uw_context *uw_context;