[Gridflow-cvs] [svn] commit: r3403 - /trunk/gridflow2.h

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Apr 2 03:15:19 EDT 2008


Author: matju
Date: Wed Apr  2 03:15:19 2008
New Revision: 3403

Log:
add t_list, a type from DesireData, just in case

Modified:
    trunk/gridflow2.h

Modified: trunk/gridflow2.h
==============================================================================
--- trunk/gridflow2.h (original)
+++ trunk/gridflow2.h Wed Apr  2 03:15:19 2008
@@ -42,6 +42,21 @@
 static inline void *memalign (size_t a, size_t n) {return malloc(n);}
 #else
 #include <malloc.h>
+#endif
+
+#ifndef DESIREDATA
+#ifdef PD_PLUSPLUS_FACE
+typedef struct t_list : t_pd {
+#else
+typedef struct t_list {
+    t_pd *pd;
+#endif
+    struct _atom *v;
+    size_t capa;
+    size_t refcount;
+    size_t n;
+} t_list;
+#define A_LIST 13
 #endif
 
 typedef char       int8; typedef unsigned char      uint8;
@@ -148,8 +163,7 @@
 		case 0:MACRO(0); case 1:MACRO(1); case 2:MACRO(2); case 3:MACRO(3); \
 		PTR+=4; N-=4; ARGS; if (N) goto start; }
 
-class Barf {
-public:
+struct Barf {
   char *text;
   Barf(const char *s, ...);
   Barf(const char *file, int line, const char *func, const char *s, ...);



More information about the Gridflow-cvs mailing list