pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:1:   /*\   ||| 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.   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.439 2002/09/21 16:29:43 mast Exp $"); + RCSID("$Id: builtin_functions.c,v 1.440 2002/09/29 00:13:21 mast Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"   #include "constants.h"   #include "mapping.h"   #include "stralloc.h"
pike.git/src/builtin_functions.c:2703:    return NULL;   }      /*! @decl string reverse(string s)    *! @decl array reverse(array a)    *! @decl int reverse(int i)    *!    *! Reverses a string, array or int.    *!    *! This function reverses a string, char by char, an array, value -  *! by value or an int, bit by bit and returns the result. +  *! by value or an int, bit by bit and returns the result. It's not +  *! destructive on the input value.    *!    *! Reversing strings can be particularly useful for parsing difficult    *! syntaxes which require scanning backwards.    *!    *! @seealso    *! @[sscanf()]    */   PMOD_EXPORT void f_reverse(INT32 args)   {    if(args < 1)