pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
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.
109
2003/01/26
11
:
09
:
00
mirar Exp $
+
|| $Id: builtin.cmod,v 1.
110
2003/01/26
18
:
31
:
19
mirar 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:182:
*! Same as sprintf("%x",x); *! *! @seealso *! @[sprintf()] */ PIKEFUN string int2hex(int|object x) efun; optflags OPT_TRY_OPTIMIZE; { INT_TYPE c;
-
unsigned
long
n;
+
unsigned
INT_TYPE
n;
int len; struct pike_string *s; if(x->type == T_OBJECT && x->u.object->prog) { ptrdiff_t fun=FIND_LFUN(x->u.object->prog, LFUN__SPRINTF); if(fun != -1) { push_int('x'); f_aggregate_mapping(0);