]> git.sur5r.net Git - cc65/blobdiff - src/ca65/macpack.h
Finished implemenation of commands to delete macros. Added the new commands to
[cc65] / src / ca65 / macpack.h
index 73184c043ccb0d32be747178d21faca4d33e89f9..3433198d1445559360ee55ab92324bcc40475ba5 100644 (file)
@@ -6,8 +6,8 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2005, Ullrich von Bassewitz                                      */
-/*                Römerstrasse 52                                            */
+/* (C) 1998-2008, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
 /*                D-70794 Filderstadt                                        */
 /* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 
 
 
+/* common */
+#include "strbuf.h"
+
+
+
 /*****************************************************************************/
 /*                                          Data                                    */
 /*****************************************************************************/
@@ -64,15 +69,18 @@ enum {
 
 
 
-int MacPackFind (const char* Name);
+int MacPackFind (const StrBuf* Name);
 /* Find a macro package by name. The function will either return the id or
  * -1 if the package name was not found.
  */
 
-void MacPackInsert (int Id);
-/* Insert the macro package with the given id in the input stream */
+int MacPackInsert (int Id);
+/* Insert the macro package with the given id in the input stream. Returns
+ * true if the macro package was found and successfully inserted. Returns
+ * false otherwise.
+ */
 
-void MacPackSetDir (const char* Dir);
+void MacPackSetDir (const StrBuf* Dir);
 /* Set a directory where files for macro packages can be found. Standard is
  * to use the builtin packages. For debugging macro packages, external files
  * can be used.