]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - code.c
_MEM_ -> MEM_ again at use
[xonotic/gmqcc.git] / code.c
diff --git a/code.c b/code.c
index caeab883b8ada2edb099e2113b9f4cc2ff02357a..d11db046ed6b19fb112ec6fab86e03375220dd91 100644 (file)
--- a/code.c
+++ b/code.c
  */
 #include "gmqcc.h"
 
-typedef struct {
-    uint32_t offset;      /* Offset in file of where data begins  */
-    uint32_t length;      /* Length of section (how many of)      */
-} prog_section;
-
-typedef struct {
-    uint32_t     version;      /* Program version (6)     */
-    uint16_t     crc16;        /* What is this?           */
-    uint16_t     skip;         /* see propsal.txt         */
-
-    prog_section statements;   /* prog_section_statement  */
-    prog_section defs;         /* prog_section_def        */
-    prog_section fields;       /* prog_section_field      */
-    prog_section functions;    /* prog_section_function   */
-    prog_section strings;      /* What is this?           */
-    prog_section globals;      /* What is this?           */
-    uint32_t     entfield;     /* Number of entity fields */
-} prog_header;
-
 /*
  * The macros below expand to a typesafe vector implementation, which
  * can be viewed in gmqcc.h