Branch: Tag:

2003-11-14

2003-11-14 11:00:44 by Martin Stjernholm <mast@lysator.liu.se>

Synched the function headers. Only define _leak in rtldebug mode.

Rev: src/builtin_functions.c:1.520
Rev: src/builtin_functions.h:1.29

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_functions.c,v 1.519 2003/11/14 10:13:39 mast Exp $ + || $Id: builtin_functions.c,v 1.520 2003/11/14 11:00:44 mast Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.519 2003/11/14 10:13:39 mast Exp $"); + RCSID("$Id: builtin_functions.c,v 1.520 2003/11/14 11:00:44 mast Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
1644:    *! @[Locale.Charset.encoder()], @[string_to_unicode()],    *! @[unicode_to_string()], @[utf8_to_string()]    */ - void f_string_to_utf8(INT32 args) + PMOD_EXPORT void f_string_to_utf8(INT32 args)   {    ptrdiff_t len;    struct pike_string *in;
5848:    *! @seealso    *! @[diff()], @[diff_longest_sequence()], @[String.fuzzymatch()]    */ - void f_diff_compare_table(INT32 args) + PMOD_EXPORT void f_diff_compare_table(INT32 args)   {    struct array *a;    struct array *b;
5870:    *! @seealso    *! @[diff()], @[diff_compare_table()], @[String.fuzzymatch()]    */ - void f_diff_longest_sequence(INT32 args) + PMOD_EXPORT void f_diff_longest_sequence(INT32 args)   {    struct array *a;    struct array *b;
5902:    *! @[diff_longest_sequence()], @[diff()], @[diff_compare_table()],    *! @[String.fuzzymatch()]    */ - void f_diff_dyn_longest_sequence(INT32 args) + PMOD_EXPORT void f_diff_dyn_longest_sequence(INT32 args)   {    struct array *a;    struct array *b;
6171:    push_int(i);   }    -  + #ifdef PIKE_DEBUG   /* This function is for debugging *ONLY*    * do not document please. /Hubbe    */
6192:    pop_n_elems(args);    push_int(i);   } + #endif      /*! @decl type _typeof(mixed x)    *!
6587:    *! @seealso    *! @[splice()], @[`/()]    */ - void f_everynth(INT32 args) + PMOD_EXPORT void f_everynth(INT32 args)   {    INT32 k,n=2;    INT32 start=0;
7890:   #endif /* PROFILING */       ADD_EFUN("_refs",f__refs,tFunc(tRef,tInt),OPT_EXTERNAL_DEPEND); + #ifdef PIKE_DEBUG    ADD_EFUN("_leak",f__leak,tFunc(tRef,tInt),OPT_EXTERNAL_DEPEND); -  + #endif    ADD_EFUN("_typeof", f__typeof, tFunc(tSetvar(0, tMix), tType(tVar(0))), 0);       /* class __master