pike.git / src / modules / _Stdio / socket.c

version» Context lines:

pike.git/src/modules/_Stdio/socket.c:130:   /*! @decl mixed set_id(mixed id)    *!    *! This function sets the id used for accept_callback by this port.    *! The default id is @[this_object()].    *!    *! @seealso    *! @[query_id]    */   static void port_set_id(INT32 args)   { -  check_all_args("Port->set_id", args, BIT_MIXED, 0); +  check_all_args(NULL, args, BIT_MIXED, 0);    assign_svalue(& THIS->id, Pike_sp-args);    pop_n_elems(args-1);   }      /*! @decl mixed query_id()    *!    *! This function returns the id for this port. The id is normally the    *! first argument to accept_callback.    *!    *! @seealso