]> git.sur5r.net Git - cc65/blobdiff - src/ca65/sizeof.h
Finished implemenation of commands to delete macros. Added the new commands to
[cc65] / src / ca65 / sizeof.h
index 26794cb2619be48287cf8b257d72aac981b723b6..d77ddf21091a6c0a4e02e331ed7e3f8f512d3d62 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2003      Ullrich von Bassewitz                                       */
-/*               Römerstraße 52                                              */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 2003-2008, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 #ifndef SIZEOF_H
 #define SIZEOF_H
+                                          
+
+
+/* common */
+#include "strbuf.h"
 
 
 
@@ -49,6 +54,16 @@ struct SymTable;
 
 
 
+/*****************************************************************************/
+/*                                          Data                                    */
+/*****************************************************************************/
+
+
+
+extern const StrBuf SizeEntryName;      /* Contains name of symbol with size */
+
+
+
 /*****************************************************************************/
 /*                                          Code                                    */
 /*****************************************************************************/
@@ -66,6 +81,12 @@ struct SymEntry* GetSizeOfSymbol (struct SymEntry* Sym);
  * does not exist.
  */
 
+struct SymEntry* DefSizeOfScope (struct SymTable* Scope, long Size);
+/* Define the size of a scope and return the size symbol */
+
+struct SymEntry* DefSizeOfSymbol (struct SymEntry* Sym, long Size);
+/* Define the size of a symbol and return the size symbol */
+
 
 
 /* End of sizeof.h */