diff 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
line wrap: on
line diff
--- a/include/urweb/types_cpp.h	Sun Apr 13 21:36:44 2014 -0400
+++ b/include/urweb/types_cpp.h	Wed Feb 26 08:21:52 2014 +0000
@@ -106,6 +106,12 @@
   int is_html5;
 } uw_app;
 
+typedef struct {
+  /* uw_app *app; */
+  void *logger_data;
+  uw_logger log_error, log_debug;
+} uw_loggers;
+
 #define ERROR_BUF_LEN 1024
 
 typedef struct {