1999-03-05
1999-03-05 01:53:28 by Wilhelm Köhler <wk@cs.tu-berlin.de>
-
ccffe74d9173014c40d1a28f84a3bd5f12425975
(11 lines)
(+7/-4)
[
Show
| Annotate
]
Branch: 5.2
shuffle() now returns the pipe object.
Applied patch by Wilhelm Köhler <wk@cs.tu-berlin.de>. Thanks.
Rev: server/base_server/roxen.pike:1.260
1:
/*
- * $Id: roxen.pike,v 1.259 1999/03/02 20:15:26 grubba Exp $
+ * $Id: roxen.pike,v 1.260 1999/03/05 01:53:28 grubba Exp $
*
* The Roxen Challenger main program.
*
7:
*/
// ABS and suicide systems contributed freely by Francesco Chemolli
- constant cvs_version="$Id: roxen.pike,v 1.259 1999/03/02 20:15:26 grubba Exp $";
+ constant cvs_version="$Id: roxen.pike,v 1.260 1999/03/05 01:53:28 grubba Exp $";
// Some headerfiles
#define IN_ROXEN
2422:
}
- void shuffle(object from, object to,
+ object shuffle(object from, object to,
object|void to2, function(:void)|void callback)
{
#if efun(spider.shuffle)
2432: Inside #if efun(spider.shuffle)
p->input(from);
p->set_done_callback(callback);
p->output(to);
+ return p;
} else {
#endif
// 'smartpipe' does not support multiple outputs.
2440:
p->output(to);
if(to2) p->output(to2);
p->input(from);
+ return p;
#if efun(spider.shuffle)
}
#endif