Branch: Tag:

2014-08-26

2014-08-26 12:10:32 by Per Hedbor <ph@opera.com>

Stricter return types for cast.

This, if nothing else, makes the documentation cleaner.

79:    {    return(domain->all(ypmap));    } +     mapping(string:string) cast_to_mapping()    {    return(domain->all(ypmap));
126:    return(values(domain->all(ypmap)));    }    -  protected mixed cast(string type) +  //! Convert the map to a mapping +  protected mapping cast(string type)    {    if( type=="mapping" )    return cast_to_mapping();