]> git.sur5r.net Git - cc65/blobdiff - src/ca65/feature.h
Make much more usage of dynamic strings (StrBufs) instead of char* and
[cc65] / src / ca65 / feature.h
index a297effff0544b450216a8f381219bbe3095422e..d3bf08e06a26a3805f42a69f6cfb1e0b3789a006 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2007 Ullrich von Bassewitz                                       */
+/* (C) 2000-2008 Ullrich von Bassewitz                                       */
 /*               Roemerstrasse 52                                            */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
 
 
 
+/* common */
+#include "strbuf.h"
+
+
+
 /*****************************************************************************/
 /*                                          Data                                    */
 /*****************************************************************************/
@@ -70,12 +75,12 @@ typedef enum {
 
 
 
-feature_t FindFeature (const char* Key);
+feature_t FindFeature (const StrBuf* Key);
 /* Find the feature in a table and return the corresponding enum value. If the
  * feature is invalid, return FEAT_UNKNOWN.
  */
 
-feature_t SetFeature (const char* Key);
+feature_t SetFeature (const StrBuf* Key);
 /* Find the feature and set the corresponding flag if the feature is known.
  * In any case, return the feature found. An invalid Key will return
  * FEAT_UNKNOWN.