chiark / gitweb /
Change header file guard names.
[mLib] / darray.h
index c04ca8bd24c479a6650c45359ba43a64376d37f7..065c5071edced675cf76332c9b8eed9e98e089b6 100644 (file)
--- a/darray.h
+++ b/darray.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: darray.h,v 1.2 1999/10/29 22:59:22 mdw Exp $
+ * $Id: darray.h,v 1.4 1999/12/10 23:42:04 mdw Exp $
  *
  * Dynamically growing dense arrays
  *
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: darray.h,v $
+ * Revision 1.4  1999/12/10 23:42:04  mdw
+ * Change header file guard names.
+ *
+ * Revision 1.3  1999/11/05 14:32:43  mdw
+ * Minor change in argument naming.
+ *
  * Revision 1.2  1999/10/29 22:59:22  mdw
  * New array adjustment macros for unsigned arguments.
  *
@@ -38,8 +44,8 @@
  *
  */
 
-#ifndef DARRAY_H
-#define DARRAY_H
+#ifndef MLIB_DARRAY_H
+#define MLIB_DARRAY_H
 
 #ifdef __cplusplus
   extern "C" {
 #include <stdlib.h>
 #include <string.h>
 
-#ifndef ALLOC_H
+#ifndef MLIB_ALLOC_H
 #  include "alloc.h"
 #endif
 
-#ifndef EXC_H
+#ifndef MLIB_EXC_H
 #  include "exc.h"
 #endif
 
@@ -108,8 +114,8 @@ typedef struct da_base {
  * Use:                Declares a structure for decribing a dynamic array.
  */
 
-#define DA_DECL(atype, type)                                           \
-  typedef struct atype { da_base b; type *v; } atype
+#define DA_DECL(type_v, type)                                          \
+  typedef struct type_v { da_base b; type *v; } type_v
 
 /*----- Initialization, creation and destruction --------------------------*/