Update of /cvsroot/agd/server/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31568
Modified Files:
lpc.h
Log Message:
Type modifiers.
Index: lpc.h
===================================================================
RCS file: /cvsroot/agd/server/src/lpc.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- lpc.h 21 Jul 2004 11:57:57 -0000 1.12
+++ lpc.h 24 Jul 2004 17:53:36 -0000 1.13
@@ -6,25 +6,23 @@
/* Each one of these types can be an array. We use the highest
bit (1000 0000) to indicate an array, so make sure to never
- go over 0x80 with normal data types. */
+ go over 0x7F with normal data types. */
#define T_INT 0x01
#define T_STRING 0x02
#define T_VOID 0x03
#define T_OBJECT 0x04
#define T_MIXED 0x05
-#define T_ANY 0x06
-
-/* Used by interpret.c. I'd rather not have it here,
- but as it also needs an union member, it would be
- too cluttered otherwise. */
+#define T_ANY 0x08
#define T_LVALUE 0x10
-
/* Used by F_INDEX_LVALUE. */
#define T_CHAR_PTR 0x20
-
#define T_ARRAY 0x80
+/* type modifiers */
+#define MOD_VARARGS 0x100
+#define MOD_ALL 0x100
+
/* string_types */
#define ST_MALLOC 1
#define ST_STATIC 2
|