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.159 2004/05/13 23:29:27 nilsson Exp $ + || $Id: builtin.cmod,v 1.160 2004/06/02 00:08:34 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:246:    while(len && n)    {    s->str[--len]="0123456789abcdef"[n&0xf];    n>>=4;    }    }    RETURN end_shared_string(s);   }       - static inline int hexchar( int v ) + static INLINE int hexchar( int v )   {    return v<10 ? v+'0' : (v-10)+'a';   }      /*! @decl string string2hex(string data)    *! @appears String.string2hex    *!    *! Convert a string of binary data to a hexadecimal string.    *!    *! @seealso