pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:3006:    free_type(t);   }      /*! @module Pike    */      /*! @decl type|zero soft_cast(type to, type from)    *!    *! Return the resulting type from a soft cast of @[from] to @[to].    *! -  *! @reeturns +  *! @returns    *! Returns @expr{UNDEFINED@} if the cast is invalid.    *!    *! @note    *! The return value for the invalid case may in the future    *! change to @expr{__unknown__@}.    */   static void f___soft_cast(INT32 args)   {    struct pike_type *res;    if (args < 2) Pike_error("Bad number of arguments to __soft_cast().\n");