pike.git
/
src
/
operators.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/operators.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 <math.h>
-
RCSID("$Id: operators.c,v 1.
120
2001/
06
/
11
21
:
19
:
34
grubba Exp $");
+
RCSID("$Id: operators.c,v 1.
121
2001/
09
/
25
17
:
40
:
45
grubba Exp $");
#include "interpret.h" #include "svalue.h" #include "multiset.h" #include "mapping.h" #include "array.h" #include "stralloc.h" #include "opcodes.h" #include "operators.h" #include "language.h" #include "pike_memory.h"
pike.git/src/operators.c:296:
case 2: convert_0_to_2((p_wchar2 *)buf.ptr,(p_wchar0 *)buffer, strlen(buffer)); break; } INC_PCHARP(buf,strlen(buffer)); } }
-
r
->len
=SUBTRACT_PCHARP(buf,MKPCHARP_STR(r))
;
-
low_set_index(r,r->len,0
);
-
r=low_end_shared_string(r);
+
r
=
realloc_unlinked_string(r,
SUBTRACT_PCHARP(buf,
MKPCHARP_STR(r))
)
;
+
r
=
low_end_shared_string(r);
pop_n_elems(args); push_string(r); break; } case BIT_INT: #ifdef AUTO_BIGNUM size = 0; for(e = -args; e < 0; e++) {