pike.git/
src/
encode.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-03-07
1999-03-07 20:07:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>
81087447353fdca0866d766a9998264a346e9ac5 (
14
lines) (+
12
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
encode_type() now knows about int(x..y).
Rev: src/encode.c:1.27
3:
||| 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"
23:
#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>
176:
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':
186:
case '7': case '8': case '9':
-
case T_INT:
+
case T_FLOAT: case T_STRING: case T_PROGRAM: