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.

3293:    ADD_FUNCTION("_sprintf",image_layer__sprintf,    tFunc(tInt tMapping,tString),0);    ADD_FUNCTION("cast",image_layer_cast, -  tFunc(tString,tMapping),ID_PROTECTED); +  tFunc(tString,tOr(tMapping,tString)),ID_PROTECTED);          ADD_FUNCTION("clone",image_layer_clone,