pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2003-04-07
2003-04-07 16:19:15 by Martin Stjernholm <mast@lysator.liu.se>
173e87e8efe8371e2810144c6db6e2a23e053ce4 (
9
lines) (+
8
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Forward-ported String.Buffer.`+= which apparently only got into 7.2.
Rev: src/builtin.cmod:1.130
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: builtin.cmod,v 1.
129
2003/04/07
15
:
30
:
10
mast Exp $
+
|| $Id: builtin.cmod,v 1.
130
2003/04/07
16
:
19
:
15
mast Exp $
*/ #include "global.h"
1694:
RETURN res; }
+
PIKEFUN object `+=( string what )
+
{
+
f_Buffer_add( 1 );
+
REF_RETURN Pike_fp->current_object;
+
}
+
/*! @decl int add(string ... data) *! *! Adds @[data] to the buffer. Returns the size of the buffer.