[Gridflow-cvs] [svn] commit: r3821 - /trunk/gridflow.h

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Jun 6 20:02:05 EDT 2008


Author: matju
Date: Fri Jun  6 20:02:05 2008
New Revision: 3821

Log:
add sys_vgui and sys_gui macros to stop warnings about non-const char *

Modified:
    trunk/gridflow.h

Modified: trunk/gridflow.h
==============================================================================
--- trunk/gridflow.h (original)
+++ trunk/gridflow.h Fri Jun  6 20:02:05 2008
@@ -51,6 +51,8 @@
 #endif
 
 #define gensym(s) gensym(const_cast<char *>(s))
+#define sys_vgui(FMT,ARGS...) sys_vgui(const_cast<char *>(FMT),ARGS)
+#define sys_gui(s) sys_gui(const_cast<char *>(s));
 
 #ifndef DESIREDATA
 #define A_LIST t_atomtype(13) /* (t_binbuf *) */



More information about the Gridflow-cvs mailing list