chiark / gitweb /
url: Allow `;' to separate key/value pairs in URL-encoded strings.
[mLib] / exc.h
diff --git a/exc.h b/exc.h
index ecfe00a89c99f68573d235acfe8bb20268fa5976..6b8ecd1fbccd6e5deda1da01b9b81b8c3f22ca34 100644 (file)
--- a/exc.h
+++ b/exc.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: exc.h,v 1.3 1999/05/06 19:51:35 mdw Exp $
+ * $Id: exc.h,v 1.7 2004/04/08 01:36:11 mdw Exp $
  *
  * Structured exception handling in C
  *
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: exc.h,v $
- * Revision 1.3  1999/05/06 19:51:35  mdw
- * Reformatted the LGPL notice a little bit.
- *
- * Revision 1.2  1999/05/05 18:50:31  mdw
- * Change licensing conditions to LGPL.
- *
- * Revision 1.1.1.1  1998/06/17 23:44:42  mdw
- * Initial version of mLib
- *
- */
-
-#ifndef EXC_H
-#define EXC_H
+#ifndef MLIB_EXC_H
+#define MLIB_EXC_H
 
 #ifdef __cplusplus
   extern "C" {
  * the type of the value field (see below).
  */
 
-/* --- Type type of an exception --- */
+/* --- Type of an exception --- */
 
 typedef unsigned long exc_extype;
 
@@ -152,6 +138,7 @@ typedef unsigned long exc_extype;
 
 #define EXC_GLOBAL 0u                  /* The global space defined here */
 #define EXC_SHARED 0xFFFFu             /* The shared space for everyone */
+#define EXC_MLIB EXC_PAIR('m', 'L')    /* Space for mLib exceptions */
 
 /*----- Exception values --------------------------------------------------*
  *