/[zanavi_public1]/navit/navit/support/glib/gmessages.c
ZANavi

Diff of /navit/navit/support/glib/gmessages.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 30 Revision 31
979 g_return_if_fail (format != NULL); 979 g_return_if_fail (format != NULL);
980 980
981 va_start (args, format); 981 va_start (args, format);
982 string = g_strdup_vprintf (format, args); 982 string = g_strdup_vprintf (format, args);
983 va_end (args); 983 va_end (args);
984 984
985//#ifdef HAVE_API_ANDROID
986 #include "debug.h"
987 dbg(0, string);
988//#endif
989
990#if 0
985 g_mutex_lock (g_messages_lock); 991 g_mutex_lock (g_messages_lock);
986 local_glib_print_func = glib_print_func; 992 local_glib_print_func = glib_print_func;
987 g_mutex_unlock (g_messages_lock); 993 g_mutex_unlock (g_messages_lock);
988 994
989 if (local_glib_print_func) 995 if (local_glib_print_func)
1001 fputs (lstring, stdout); 1007 fputs (lstring, stdout);
1002 g_free (lstring); 1008 g_free (lstring);
1003 } 1009 }
1004 fflush (stdout); 1010 fflush (stdout);
1005 } 1011 }
1012#endif
1013
1006 g_free (string); 1014 g_free (string);
1007} 1015}
1008 1016
1009GPrintFunc 1017GPrintFunc
1010g_set_printerr_handler (GPrintFunc func) 1018g_set_printerr_handler (GPrintFunc func)

Legend:
Removed from v.30  
changed lines
  Added in v.31

   
Visit the ZANavi Wiki