chiark / gitweb /
Minor changes to allocation strategy.
[mLib] / exc.h
diff --git a/exc.h b/exc.h
index a2e004e8df486d469f807192a51998e23b87fafe..f5d1dc930cd5105fbfb8a7df486eceb5e3009416 100644 (file)
--- a/exc.h
+++ b/exc.h
@@ -1,36 +1,46 @@
 /* -*-c-*-
  *
- * $Id: exc.h,v 1.1 1998/06/17 23:44:42 mdw Exp $
+ * $Id: exc.h,v 1.4 1999/10/22 22:39:18 mdw Exp $
  *
  * Structured exception handling in C
  *
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------* 
  *
  * This file is part of the mLib utilities library.
  *
  * mLib is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
+ * it under the terms of the GNU Library General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ * 
  * mLib is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with mLib; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU Library General Public
+ * License along with mLib; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
  */
 
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: exc.h,v $
- * Revision 1.1  1998/06/17 23:44:42  mdw
- * Initial revision
+ * Revision 1.4  1999/10/22 22:39:18  mdw
+ * Add an exception group for mLib.
+ *
+ * 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
  *
  */
 
@@ -145,6 +155,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 --------------------------------------------------*
  *