used ircons_t.h now
[libfirm] / ir / ident / ident.h
index c94383a..cfba365 100644 (file)
@@ -64,7 +64,7 @@ ident *new_id_from_str (const char *str);
  *
  * @see new_get_id_str(), get_id_strlen()
  */
-INLINE ident *id_from_str (const char *str, int len);
+ident *id_from_str (const char *str, int len);
 
 /**
  * Returns a string represented by an ident.
@@ -78,8 +78,7 @@ INLINE ident *id_from_str (const char *str, int len);
  *
  * @see new_get_id_str(), id_from_str(), get_id_strlen()
  */
-INLINE const char *get_id_str  (ident *id);
-//INLINE const char *get_id_str  (ident *id);    /* No more supported */
+const char *get_id_str  (ident *id);
 #define id_to_str  get_id_str
 
 /**
@@ -91,7 +90,7 @@ INLINE const char *get_id_str  (ident *id);
  *
  * @see new_get_id_str(), id_from_str(), get_id_str()
  */
-INLINE int  get_id_strlen(ident *id);
+int  get_id_strlen(ident *id);
 #define id_to_strlen get_id_strlen
 /**
  * Returns true if prefix is a prefix of an ident.
@@ -113,6 +112,16 @@ int id_is_prefix (ident *prefix, ident *id);
  */
 int id_is_suffix (ident *suffix, ident *id);
 
+/**
+ * Returns true if infix is a contained in id.  (Can be suffix or prefix)
+ *
+ * @param infix  - the infix
+ * @param id     - the ident to search in
+ *
+ * @see new_get_id_str(), id_from_str(), get_id_str(), id_is_prefix()
+ */
+/* int id_contains(ident *infix, ident *id); */
+
 /**
  * Return true if an ident contains a given character.
  *