pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1:   /* -*- c -*- -  * $Id: builtin.cmod,v 1.80 2002/04/06 21:04:46 grubba Exp $ +  * $Id: builtin.cmod,v 1.81 2002/04/07 11:15:39 nilsson Exp $    */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "opcodes.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"
pike.git/src/builtin.cmod:109:    case T_TYPE: push_constant_text("type"); break;    case T_ZERO: push_constant_text("zero"); break;    case T_VOID: push_constant_text("void"); break;    case T_MAPPING_DATA: push_constant_text("mapping_data"); break;    default: push_constant_text("unknown"); break;    }   }         /*! @decl string int2char(int x) +  *! @appears String.int2char    *!    *! Same as sprintf("%c",x);    *!    *! @seealso    *! @[sprintf()]    */   PIKEFUN string int2char(int|object x)    efun;    optflags OPT_TRY_OPTIMIZE;   {
pike.git/src/builtin.cmod:157:    RETURN end_shared_string(s);    }else{    struct string_builder tmp;    init_string_builder(&tmp,0);    string_builder_putchar(&tmp, c);    RETURN finish_string_builder(&tmp);    }   }      /*! @decl string int2hex(int x) +  *! @appears String.int2hex    *!    *! Same as sprintf("%x",x);    *!    *! @seealso    *! @[sprintf()]    */   PIKEFUN string int2hex(int|object x)    efun;    optflags OPT_TRY_OPTIMIZE;   {