pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2004-12-18
2004-12-18 18:39:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>
229f69f25ccf76f622b1a4ee84b11e36cc2511ae (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
object_program() now knows about object subtypes.
Rev: src/builtin_functions.c:1.582
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: builtin_functions.c,v 1.
581
2004/12/
14
16
:
26
:
28
mast
Exp $
+
|| $Id: builtin_functions.c,v 1.
582
2004/12/
18
18
:
39
:
11
grubba
Exp $
*/ #include "global.h"
2829:
if(p) {
+
p = p->inherits[Pike_sp[-args].subtype].prog;
if((p->flags & PROGRAM_USES_PARENT) && PARENT_INFO(o)->parent && PARENT_INFO(o)->parent->prog)
3295:
} else { /* First argument is not an array or mapping, *
-
* It
thus
must be a string.
+
* It
must
thus be a string.
*/ node **arg1 = my_get_arg(&_CDR(n), 1); node **arg2 = my_get_arg(&_CDR(n), 2);