pike.git/
src/
operators.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-31
2000-08-31 14:43:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>
2ff960b3ab4daa09084f84b72711a42b5d86eab0 (
9
lines) (+
6
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Changed a few ADD_FUNCTION() to ADD_FUNCTION2().
Rev: src/operators.c:1.101
6:
/**/ #include "global.h" #include <math.h>
-
RCSID("$Id: operators.c,v 1.
100
2000/08/
17
19
:
07
:
13
grubba Exp $");
+
RCSID("$Id: operators.c,v 1.
101
2000/08/
31
14
:
43
:
00
grubba Exp $");
#include "interpret.h" #include "svalue.h" #include "multiset.h"
2749:
start_new_program(); ADD_STORAGE(struct string_assignment_storage); /* function(int:int) */
-
ADD_
FUNCTION
("`[]",f_string_assignment_index,tFunc(tInt,tInt),0);
+
ADD_
FUNCTION2
("`[]",
f_string_assignment_index,
tFunc(tInt,tInt),
0
,
+
OPT_EXTERNAL_DEPEND
);
/* function(int,int:int) */
-
ADD_
FUNCTION
("`[]=",f_string_assignment_assign_index,tFunc(tInt tInt,tInt),0);
+
ADD_
FUNCTION2
("`[]=",
f_string_assignment_assign_index,
+
tFunc(tInt tInt,tInt),
0
, OPT_SIDE_EFFECT
);
set_init_callback(init_string_assignment_storage); set_exit_callback(exit_string_assignment_storage); string_assignment_program=end_program();