From 206619666f9637036105c6c1bb719a76dfd2fae9 Mon Sep 17 00:00:00 2001 From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org> Date: Mon, 14 Jun 1999 15:11:23 +0200 Subject: [PATCH] describe_backtrace _does_ take mixed as argument Rev: lib/master.pike.in:1.51 Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Session.pike:1.3 --- lib/master.pike.in | 4 ++-- .../Protocols.pmod/LysKOM.pmod/Session.pike | 19 ++++++++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/lib/master.pike.in b/lib/master.pike.in index ffbc5a8bac..0f83a24924 100644 --- a/lib/master.pike.in +++ b/lib/master.pike.in @@ -1,4 +1,4 @@ -/* $Id: master.pike.in,v 1.50 1999/06/02 21:21:39 marcus Exp $ +/* $Id: master.pike.in,v 1.51 1999/06/14 13:11:21 mirar Exp $ * * Master-file for Pike. * @@ -1112,7 +1112,7 @@ string describe_program(program p) * it is currently used by handle_error to convert a backtrace to a * readable message. */ -string describe_backtrace(mixed *trace) +string describe_backtrace(mixed trace) { int e; string ret; diff --git a/lib/modules/Protocols.pmod/LysKOM.pmod/Session.pike b/lib/modules/Protocols.pmod/LysKOM.pmod/Session.pike index 71b94b3ebd..b0c7cada40 100644 --- a/lib/modules/Protocols.pmod/LysKOM.pmod/Session.pike +++ b/lib/modules/Protocols.pmod/LysKOM.pmod/Session.pike @@ -1,4 +1,4 @@ -// $Id: Session.pike,v 1.2 1999/06/12 23:13:49 mirar Exp $ +// $Id: Session.pike,v 1.3 1999/06/14 13:11:23 mirar Exp $ //! module Protocols //! submodule LysKOM //! class Session @@ -563,6 +563,23 @@ int(1..1) logout() return 1; } +//! method object new_text(string subject,string body) +//! method object new_text(string subject,string body,object|array(object) mottagare,object|array(object) comment_to,object|array(object) footnote_to,multiset flags) +//! method void new_text(string subject,string body,object|array(object) mottagare,object|array(object) comment_to,object|array(object) footnote_to,multiset flags,function callback,mixed ...extra) +//! Creates a new text. +//! +//! if "callback" are given, this function will be called when the text +//! is created. + +object|void new_text(string subject,string body, + object|array(object) mottagare, + object|array(object) comment_to, + object|array(object) footnote_to, + multiset flags, + function callback, + mixed ...extra) +{ +} /* -- GitLab