pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2015-05-21
2015-05-21 17:26:33 by Tobias S. Josefowitz <tobij@tobij.de>
38b42c615c5cd1232226573fc8d1d6583c93abdc (
5
lines) (+
2
/-
3
)
[
Show
|
Annotate
]
Branch:
8.1
f_zero_type: cleanup
1635:
if(args < 1) SIMPLE_TOO_FEW_ARGS_ERROR("zero_type",1);
-
if(
(TYPEOF(Pike_sp[-args]) == T_OBJECT ||
-
TYPEOF(Pike_sp[-args]) == T_FUNCTION)
-
&&
IS_DESTRUCTED(Pike_sp-args))
+
if(IS_DESTRUCTED(Pike_sp-args))
{ pop_n_elems(args); push_int(NUMBER_DESTRUCTED);