pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:1:   /*   || 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: pike_types.c,v 1.263 2007/03/20 17:39:04 grubba Exp $ + || $Id: pike_types.c,v 1.264 2007/03/21 13:55:55 grubba Exp $   */      #include "global.h"   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"
pike.git/src/pike_types.c:5168:    my_putchar((i >> 24) & 0xff);    my_putchar((i >> 16) & 0xff);    my_putchar((i >> 8) & 0xff);    my_putchar(i & 0xff);    }    break;       case T_STRING:    {    INT32 width = (INT32)CAR_TO_INT(t); +  if (width == 32) {    my_putchar(T_STRING); -  my_putchar((width >> 24) & 0xff); -  my_putchar((width >> 16) & 0xff); -  my_putchar((width >> 8) & 0xff); +  } else { +  my_putchar(PIKE_T_NSTRING);    my_putchar(width & 0xff);    } -  +  }    break;       case T_INT:    {    INT32 i;    my_putchar(T_INT);    i = (INT32)CAR_TO_INT(t);    my_putchar((i >> 24) & 0xff);    my_putchar((i >> 16) & 0xff);    my_putchar((i >> 8) & 0xff);