stage3/datatype_functions.hh
changeset 445 e6c34ee82954
parent 443 ff4d26b7e51d
child 457 67d8b07bac22
equal deleted inserted replaced
444:92d40d2a7adc 445:e6c34ee82954
   137 extern const struct widen_entry widen_DIV_table[];
   137 extern const struct widen_entry widen_DIV_table[];
   138 
   138 
   139 /* Search for a datatype inside a candidate_datatypes list.
   139 /* Search for a datatype inside a candidate_datatypes list.
   140  * Returns: position of datatype in the list, or -1 if not found.
   140  * Returns: position of datatype in the list, or -1 if not found.
   141  */
   141  */
   142 int search_in_datatype_list(symbol_c *datatype, std::vector <symbol_c *> candidate_datatypes);
   142 int search_in_candidate_datatype_list(symbol_c *datatype, std::vector <symbol_c *> candidate_datatypes);
   143 
   143 
   144 /* Copy the elements in the candidate_datatype_list in one symbol (from)
   144 /* Copy the elements in the candidate_datatype_list in one symbol (from)
   145  * into the candidate_datatype_list of another symbol (to)
   145  * into the candidate_datatype_list of another symbol (to)
   146  */
   146  */
   147 void copy_candidate_datatype_list(symbol_c *from, symbol_c *to);
   147 void copy_candidate_datatype_list(symbol_c *from, symbol_c *to);