pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:91:    *! if all their contents are @[equal] and in the same place,    *! they are considered equal.    *!    *! Note that for objects this case is only reached if neither    *! @[a] nor @[b] implements @[lfun::_equal()].    *! @type type    *! Returns @expr{(a <= b) && (b <= a)@}.    *! @endmixed    *!    *! @seealso -  *! @[copy_value()] +  *! @[copy_value()], @[`==()]    */   PMOD_EXPORT void f_equal(INT32 args)   {    int i;    if(args != 2)    SIMPLE_TOO_FEW_ARGS_ERROR("equal", 2);       i=is_equal(Pike_sp-2,Pike_sp-1);    pop_n_elems(args);    push_int(i);