pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-05-22
2002-05-22 14:22:38 by Johan Sundström <oyasumi@gmail.com>
01f7f39d49abcbed5777b33916c5db3d8b9770e7 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed documentation bug.
Rev: lib/master.pike.in:1.200
6:
// Pike is distributed as GPL (General Public License) // See the files COPYING and DISCLAIMER for more information. //
-
// $Id: master.pike.in,v 1.
199
2002/05/22
10
:
00
:
09
nilsson
Exp $
+
// $Id: master.pike.in,v 1.
200
2002/05/22
14
:
22
:
38
jhs
Exp $
#pike __REAL_VERSION__
65:
#define capitalize(X) (upper_case((X)[..0])+(X)[1..]) //! @appears error
-
//!
Identical
to
@tt{throw( ({ sprintf(f, @args), backtrace() }) )@}.
+
//!
Throws
an
error. A more readable version of the code
+
//!
@tt{throw( ({ sprintf(f, @args), backtrace()
[..sizeof(backtrace())-2]
}) )@}.
void error(string f, mixed ... args) { array(array) b = backtrace(); if (sizeof(args)) f = sprintf(f, @args);