stage3/datatype_functions.hh
changeset 603 a45a62dd6df9
parent 490 29f6ab0bf954
child 606 d2122a32ec86
--- a/stage3/datatype_functions.hh	Tue Jun 19 18:55:43 2012 +0100
+++ b/stage3/datatype_functions.hh	Sat Jul 14 11:09:26 2012 +0200
@@ -144,6 +144,11 @@
  */
 int search_in_candidate_datatype_list(symbol_c *datatype, std::vector <symbol_c *> candidate_datatypes);
 
+/* Remove a datatype inside a candidate_datatypes list.
+ * Returns: If successful it returns true, false otherwise.
+ */
+bool remove_from_candidate_datatype_list(symbol_c *datatype, std::vector <symbol_c *> &candidate_datatypes);
+
 /* Intersect two candidate_datatype_lists.
  * Remove from list1 (origin, dest.) all elements that are not found in list2 (with).
  * In essence, list1 will contain the result of the intersection of list1 with list2.