pike.git
/
lib
/
master.pike.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/master.pike.in:137:
#else // !RESOLV_DEBUG #define INC_RESOLV_MSG_DEPTH() 0 #define DEC_RESOLV_MSG_DEPTH() 0 #define resolv_debug(X...) do {} while (0) #endif // !RESOLV_DEBUG constant no_value = (<>); constant NoValue = typeof (no_value);
-
#if constant(_disable_threads)
-
// Workaround for call_c_initializers() lying about the current function,
-
// which in turn causes backtrace() to generate broken functions. [bug 6156].
-
protected string function_name(function|program f)
-
{
-
object o = function_object(f);
-
if (o && (object_program(o) == _disable_threads)) {
-
return "__EVENT_HANDLER__";
-
}
-
return predef::function_name(f);
-
}
-
#endif
-
+
// Some API compatibility stuff. //! Pike 0.5 master compatibility interface. //! //! Most of the interface is implemented via mixin, //! or overloading by more recent masters. //! //! This interface is used for compatibility with //! all pikes until Pike 0.5. //!