diff -r 456add88d64c -r a45a62dd6df9 stage3/datatype_functions.hh --- 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 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 &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.