pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/builtin.cmod:1:
/* -*- c -*- || 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.cmod,v 1.
234
2009/08/19 18:
32
:
03
grubba Exp $
+
|| $Id: builtin.cmod,v 1.
235
2009/08/19 18:
50
:
22
grubba Exp $
*/ #include "global.h" #include "interpret.h" #include "svalue.h" #include "pike_macros.h" #include "object.h" #include "program.h" #include "array.h" #include "pike_error.h"
pike.git/src/builtin.cmod:4065:
} /*! @decl mixed programof(mixed symbol) *! Look up a program in @[all_constants()]. */ PIKEFUN mixed programof(mixed symbol) { mapping_index_no_free(Pike_sp, get_builtin_constants(), symbol); Pike_sp++; stack_pop_keep_top(); }
+
/*! @decl object decode_object(object obj, mixed data)
+
*! Calls @expr{@obj->_decode(@[data])@}.
+
*/
+
PIKEFUN object decode_object(object obj, mixed data)
+
{
+
apply(obj, "_decode", 1);
+
pop_stack();
}
-
+
}
/*! @endclass */ /*! @endmodule */ void init_builtin(void) { init_pike_list_node_blocks();