pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/ + /**/   #include "global.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "mapping.h"   #include "array.h"   #include "multiset.h"   #include "dynamic_buffer.h"   #include "error.h"   #include "operators.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"    - RCSID("$Id: encode.c,v 1.26 1998/11/22 11:02:43 hubbe Exp $"); + RCSID("$Id: encode.c,v 1.27 1999/03/07 20:07:09 grubba Exp $");      #ifdef _AIX   #include <net/nh.h>   #endif      #ifdef HAVE_NETINET_IN_H   #include <netinet/in.h>   #endif      #include <math.h>
pike.git/src/encode.c:169:    case T_MAPPING:    case T_OR:    case T_AND:    t+=encode_type(t, data);       case T_ARRAY:    case T_MULTISET:    case T_NOT:    goto one_more_type;    +  case T_INT: +  { +  int i; +  for(i = 0; i < 2*sizeof(INT32); i++) { +  addchar(EXTRACT_UCHAR(t++)); +  } +  } +  break; +     case '0':    case '1':    case '2':    case '3':    case '4':    case '5':    case '6':    case '7':    case '8':    case '9': -  case T_INT: +     case T_FLOAT:    case T_STRING:    case T_PROGRAM:    case T_MIXED:    case T_VOID:    case T_UNKNOWN:    break;       case T_OBJECT:    {