Branch: Tag:

2004-01-23

2004-01-23 22:37:33 by Martin Nilsson <mani@lysator.liu.se>

Stricter types

Rev: lib/modules/ADT.pmod/module.pmod:1.7
Rev: lib/modules/SSL.pmod/Cipher.pmod:1.8
Rev: lib/modules/SSL.pmod/handshake.pike:1.40

148:       //! Reads an array of integers as written by @[put_fix_uint_array]    //! from the buffer. -  array(mixed) get_fix_uint_array(int item_size, int size) +  array(int) get_fix_uint_array(int item_size, int size)    { -  array(mixed) res = allocate(size); +  array(int) res = allocate(size);    for(int i = 0; i<size; i++)    res[i] = get_uint(item_size);    return res;
158:       //! Reads an array of integers as written by @[put_var_uint_array]    //! from the buffer. -  array(mixed) get_var_uint_array(int item_size, int len) +  array(int) get_var_uint_array(int item_size, int len)    {    return get_fix_uint_array(item_size, get_uint(len));    }