Roxen.git
/
server
/
etc
/
modules
/
RXML.pmod
/
module.pmod
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/modules/RXML.pmod/module.pmod:8302:
string add_func (string rettype, string arglist, string def) { string id = #ifdef DEBUG pcid + #endif "f" + p_comp_idnr++; COMP_MSG ("%O add func: %s %s (%s)\n{%s}\n", this_object(), rettype, id, arglist, def);
-
string txt = sprintf (
+
string txt =
predef::
sprintf (
"# 1\n" // Workaround for pike 7.8 bug with large line numbers, [bug 6146]. "%s %s (%s)\n{%s}\n", rettype, id, arglist, def); Thread.MutexKey lock = mutex::lock(); code::add (txt); cur_ids[id] = 1; // Be nice to the Pike compiler, and compile the code in segments. if (code::_sizeof() >= 65536) { lock = UNDEFINED;