pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-04-07
2000-04-07 19:07:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>
26dfb741766b9018b650680aaf0d6e828ddb356a (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
m_delete() has a side-effect...
Rev: src/builtin_functions.c:1.250
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
249
2000/04/
06
20
:
17
:
05
hubbe
Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
250
2000/04/
07
19
:
07
:
55
grubba
Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
5738:
ADD_EFUN("lower_case",f_lower_case,tFunc(tStr,tStr),OPT_TRY_OPTIMIZE); /* function(0=mapping,mixed:0) */
-
ADD_EFUN("m_delete",f_m_delete,tFunc(tSetvar(0,tMapping) tMix,tVar(0)),
0
);
+
ADD_EFUN("m_delete",f_m_delete,tFunc(tSetvar(0,tMapping) tMix,tVar(0)),
+
OPT_SIDE_EFFECT
);
/* function(mixed:int) */ ADD_EFUN("mappingp",f_mappingp,tFunc(tMix,tInt),OPT_TRY_OPTIMIZE);