This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

constructors in KAWA?



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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]