This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: class inherited from procedure?
- From: Per Bothner <per at bothner dot com>
- To: Yaroslav Kavenchuk <kavenchuk at gmail dot com>
- Cc: kawa <kawa at sourceware dot org>
- Date: Fri, 22 Feb 2008 21:17:26 -0800
- Subject: Re: class inherited from procedure?
- References: <47BEAF3D.9020604@gmail.com>
Yaroslav Kavenchuk wrote:
Hom define callable class? Inherit from procedure? How?
The easiest is probably to extend one of the
Procedure0 ... Procedure4 or ProcedureN classes.
You just need to implement the appropriate apply[01234N] method.
--
--Per Bothner
per@bothner.com http://per.bothner.com/