This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
constructors in KAWA?
- To: "kawa at sourceware dot cygnus dot com" <kawa at sourceware dot cygnus dot com>
- Subject: constructors in KAWA?
- From: Chris <chrisb at nimrod dot itg dot telstra dot com dot au>
- Date: Thu, 07 Sep 2000 14:18:19 +1100
- Organization: IBM Global Services
- Reply-To: chris at bitmead dot com
I can't see in the doco how to create a Java constructor for a Kawa
class, or otherwise instantiate a module instance.
My understanding is that a module == class. Therefore I want to
instantiate that class.
So I have a module with....
(module-name "foo")
so I'm expecting that...
(make <foo>)
will do the trick, but I get...
warning - no method `<init>' in share
which I presume is a complaint about lack of constructor. So I also
declare...
(define (<init>) '())
which doesn't help any.
What am I missing?