Branch: Tag:

2002-03-02

2002-03-02 16:05:10 by Martin Nilsson <mani@lysator.liu.se>

Updated a few prototypes. Fixed search_array error.

Rev: lib/modules/Array.pmod:1.61

1:   #pike __REAL_VERSION__    - #define error(X) throw( ({ (X), backtrace()[0..sizeof(backtrace())-2] }) ) -  +    constant diff = __builtin.diff;   constant diff_longest_sequence = __builtin.diff_longest_sequence;   constant diff_compare_table = __builtin.diff_compare_table;
83:   //! @seealso   //! @[sum()], @[map()]   //! - int search_array(array arr, mixed fun, mixed ... args) + int search_array(array arr, string|function|int fun, mixed ... args)   {    int e;   
108:    return e;    return -1;    } -  else -  { -  error("Bad argument 2 to filter().\n"); +  +  error("Bad argument 2 to search_array().\n");   } - } +     - array sum_arrays(function sum, array(mixed) ... args) + array sum_arrays(function sum, mixed ... args)   {    array ret;    int e,d;