pike.git/
src/
modules/
_Debug/
debug.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2015-04-30
2015-04-30 15:18:28 by Martin Nilsson <nilsson@opera.com>
911efc685e388cd353f40f6c5b5aafd9f1bc04a4 (
19
lines) (+
19
/-
0
)
[
Show
|
Annotate
]
Branch:
8.1
Moved describe to Debug.
13:
#include "builtin_functions.h" #include "mapping.h" #include "multiset.h"
+
#include "gc.h"
DECLARATIONS
315:
locate_references(o); }
+
/*! @decl mixed describe(mixed x)
+
*! @belongs Debug
+
*!
+
*! Prints out a description of the thing @[x] to standard error.
+
*! The description contains various internal info associated with
+
*! @[x].
+
*!
+
*! @note
+
*! This function only exists if the Pike runtime has been compiled
+
*! with RTL debug.
+
*/
+
PIKEFUN mixed describe(mixed x)
+
rawtype tFunc(tSetvar(1,tMix),tVar(1));
+
{
+
debug_describe_svalue(debug_malloc_pass(&Pike_sp[-1]));
+
}
+
#ifdef YYDEBUG /*! @decl int(0..) compiler_trace(int(0..) level)