Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11564/src/gdk
Modified Files:
gdk_utils.mx
Log Message:
M5 now also uses mapi_open as a boolean!
Index: gdk_utils.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_utils.mx,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -d -r1.185 -r1.186
--- gdk_utils.mx 29 May 2007 12:45:13 -0000 1.185
+++ gdk_utils.mx 29 May 2007 20:59:52 -0000 1.186
@@ -156,6 +156,21 @@
}
@h
+gdk_export int GDKgetenv_istrue(const char *name);
+
[EMAIL PROTECTED]
+int
+GDKgetenv_istrue(const char *name)
+{
+ char *val = GDKgetenv(name);
+
+ if (val && strcasecmp(val, "true") == 0) {
+ return 1;
+ }
+ return 0;
+}
+
[EMAIL PROTECTED]
gdk_export void GDKsetenv(str name, str value);
@c
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins