comparison include/urweb/types_cpp.h @ 1997:c93fbd139732

Define uw_loggers structure, allow FFI code to access it
author Sergey Mironov <grrwlf@gmail.com>
date Wed, 26 Feb 2014 08:21:52 +0000
parents ac1be85e91ad
children 2f7ed04332a0
comparison
equal deleted inserted replaced
1996:582ea3a4d622 1997:c93fbd139732
104 uw_Basis_string time_format; 104 uw_Basis_string time_format;
105 105
106 int is_html5; 106 int is_html5;
107 } uw_app; 107 } uw_app;
108 108
109 typedef struct {
110 /* uw_app *app; */
111 void *logger_data;
112 uw_logger log_error, log_debug;
113 } uw_loggers;
114
109 #define ERROR_BUF_LEN 1024 115 #define ERROR_BUF_LEN 1024
110 116
111 typedef struct { 117 typedef struct {
112 size_t max; 118 size_t max;
113 char *start, *front, *back; 119 char *start, *front, *back;