stage3/datatype_functions.hh
changeset 438 744b125d911e
parent 436 f9fd63f64f5c
child 441 e8de43eefcc5
equal deleted inserted replaced
437:0e09a8840c92 438:744b125d911e
    30 
    30 
    31 
    31 
    32 
    32 
    33 #define is_type(type_name_symbol, type_name_class)  ((type_name_symbol == NULL) ? false : (typeid(*type_name_symbol) == typeid(type_name_class)))
    33 #define is_type(type_name_symbol, type_name_class)  ((type_name_symbol == NULL) ? false : (typeid(*type_name_symbol) == typeid(type_name_class)))
    34 #define sizeoftype(symbol) get_sizeof_datatype_c::getsize(symbol)
    34 #define sizeoftype(symbol) get_sizeof_datatype_c::getsize(symbol)
       
    35 
       
    36 
       
    37 
       
    38 
       
    39 typedef struct {
       
    40   symbol_c *function_name;
       
    41   symbol_c *nonformal_operand_list;
       
    42   symbol_c *   formal_operand_list;
       
    43 
       
    44 //symbol_c &*datatype;
       
    45 //std::vector <symbol_c *> &candidate_datatypes;
       
    46   std::vector <symbol_c *> &candidate_functions;
       
    47   symbol_c *&called_function_declaration;
       
    48   int      &extensible_param_count;
       
    49 } generic_function_call_t;
    35 
    50 
    36 
    51 
    37 
    52 
    38 /* A small helper class, to transform elementary data type to string.
    53 /* A small helper class, to transform elementary data type to string.
    39  * this allows us to generate more relevant error messages...
    54  * this allows us to generate more relevant error messages...