Roxen.git
/
server
/
base_server
/
module.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/module.pike:1:
// This file is part of Roxen WebServer. // Copyright © 1996 - 2009, Roxen IS.
-
// $Id: module.pike,v 1.
238
2009/
07
/
07
14
:
15
:
26
jonasw
Exp $
+
// $Id: module.pike,v 1.
239
2009/
10
/
31
13
:
37
:
34
mast
Exp $
#include <module_constants.h> #include <module.h> #include <request_trace.h> constant __pragma_save_parent__ = 1; // Tell Pike.count_memory this is global. constant pike_cycle_depth = 0;
Roxen.git/server/base_server/module.pike:81:
//! @[module_identifier]. { return _module_local_identifier; } RoxenModule this_module() { return this_object(); // To be used from subclasses. }
+
DECLARE_OBJ_COUNT;
+
string _sprintf() {
-
return sprintf ("RoxenModule(%s)", _module_identifier || "?");
+
return sprintf ("RoxenModule(%s)"
+ OBJ_COUNT
, _module_identifier || "?");
} array register_module() { return ({ this_object()->module_type, this_object()->module_name, this_object()->module_doc, 0, module_unique,