pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/builtin.cmod:1:
/* -*- c -*-
-
* $Id: builtin.cmod,v 1.
68
2001/
09
/
28
01
:
54
:
49
hubbe
Exp $
+
* $Id: builtin.cmod,v 1.
69
2001/
10
/
04
19
:
40
:
02
nilsson
Exp $
*/ #include "global.h" #include "interpret.h" #include "svalue.h" #include "opcodes.h" #include "pike_macros.h" #include "object.h" #include "program.h" #include "array.h"
pike.git/src/builtin.cmod:1364:
apply( res, "add", 1 ); RETURN res; } PIKEFUN object `+=( string what ) { f_Buffer_add( 1 ); REF_RETURN fp->current_object; }
-
/*! @decl
void
add(string ... data)
+
/*! @decl
int
add(string ... data)
*! *! Adds @[data] to the buffer. Returns the size of the buffer. *! */ PIKEFUN int add( string ... arg1 ) { struct Buffer_struct *str = THIS; int j; if (!str->str.s && args) {