2001-02-06
2001-02-06 14:23:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
937c462dd94d18dbd92f6a4c320a5fac6e906828
(34 lines)
(+21/-13)
[
Show
| Annotate
]
Branch: 7.9
Several AutoDoc mk II markup fixes.
Rev: src/builtin_functions.c:1.338
5:
\*/
/**/
#include "global.h"
- RCSID("$Id: builtin_functions.c,v 1.337 2001/02/06 14:04:10 grubba Exp $");
+ RCSID("$Id: builtin_functions.c,v 1.338 2001/02/06 14:23:41 grubba Exp $");
#include "interpret.h"
#include "svalue.h"
#include "pike_macros.h"
2298:
destruct_objects_to_destruct();
}
- /*! array indices(string|array|mapping|multiset|object x)
+ /*! @decl array indices(string|array|mapping|multiset|object x)
*!
*! Return an array of all valid indices for the value @[x].
*!
2580:
return NULL;
}
- /*! array values(string|array|mapping|multiset|object x)
+ /*! @decl array values(string|array|mapping|multiset|object x)
*!
*! Return an array of all possible values from indexing the value @[x].
*!
3128:
}
}
- /*! @decl program compile(string source, object|void handler,
+ /*! @decl program compile(string source, object|void handler, @
*! int|void major, int|void minor)
*!
*! Compile a string to a program.
3195:
}
- /*! @decl array|mapping|multiset set_weak_flag(array|mapping|multiset m,
+ /*! @decl array|mapping|multiset set_weak_flag(array|mapping|multiset m, @
*! int(0..1) state)
*!
*! Set the value @[m] to hold weak references if @[state] is @tt{1@}.
*! Reset to strong references otherwise.
*!
*! @returns
- *! @[m] will be returned.
+ *! @[m] will be returned.
*/
#define SETFLAG(FLAGS,FLAG,ONOFF) \
FLAGS = (FLAGS & ~FLAG) | ( ONOFF ? FLAG : 0 )
3392:
GET_TIME_ELAPSED;
}
- /*! int gc()
+ /*! @decl int gc()
*!
*! Force garbage collection.
*!
6138: Inside #if defined(PIKE_DEBUG)
pop_n_elems(args-1);
}
- /*! mixed _describe(mixed x)
+ /*! @decl mixed _describe(mixed x)
*/
PMOD_EXPORT void f__describe(INT32 args)
{
6963:
}
}
- /* @module Program
+ /*! @module Program
*/
/*! @decl array(program) inherit_list(program p)
7139:
*/
static void f_buf_create( INT32 args )
- /*! @decl void create(int|void initial_size) Initializes a new
- *! buffer. If no @[initial_size] is specified, 4096 is used. If you
+ /*! @decl void create(int|void initial_size)
+ *!
+ *! Initializes a new buffer.
+ *!
+ *! If no @[initial_size] is specified, 4096 is used. If you
*! know aproximately how big the buffer will be, you can optimize
- *! the operation of add (slightly) by passing the size to this
+ *! the operation of @[add()] (slightly) by passing the size to this
*! function.
*/
{
7195:
static void f_buf_add( INT32 args )
/*! @decl void add(string data)
+ *!
*! Adds @[data] to the buffer
*/
{
7271:
static void f_buf_get( INT32 args )
/*! @method string get( )
+ *!
*! Get the data from the buffer.
- *! @note This will clear the data in the buffer
+ *!
+ *! @note
+ *! This will clear the data in the buffer
*/
{
struct buffer_str *str = THB;