pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1:   /* -*- c -*-   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin.cmod,v 1.155 2004/04/25 19:47:36 nilsson Exp $ + || $Id: builtin.cmod,v 1.156 2004/04/25 19:50:18 nilsson Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin.cmod:177:    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 @expr{sprintf("%x",x);@}, i.e. writes out the integer @[x] -  *! in hexadecimal base using lower case. +  *! Same as @expr{sprintf("%x",x);@}, i.e. returns the integer @[x] in +  *! hexadecimal base using lower cased symbols.    *!    *! @seealso    *! @[sprintf()]    */   PIKEFUN string int2hex(int|object x)    efun;    optflags OPT_TRY_OPTIMIZE;   {    INT_TYPE c;    unsigned INT_TYPE n;