absyntax_utils/get_datatype_info.hh
changeset 778 44e02a88f1e7
parent 727 db5881e6facd
child 909 8b2a31dea131
--- a/absyntax_utils/get_datatype_info.hh	Thu Dec 27 15:04:58 2012 +0000
+++ b/absyntax_utils/get_datatype_info.hh	Thu Dec 27 15:31:01 2012 +0000
@@ -57,7 +57,8 @@
 
   
   public:
-    static symbol_c *get_datatype_id(symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! */
+    static symbol_c   *get_id    (symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! Does not work for elementary datatypes!*/
+    static const char *get_id_str(symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! */
       
     static bool is_type_equal(symbol_c *first_type, symbol_c *second_type);
     static bool is_type_valid(symbol_c *type);