This is the mail archive of the kawa@sourceware.org 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]
Other format: [Raw text]

Re: castomizable 'as'?


Yaroslav Kavenchuk wrote:
It is possible?
And not for new classes - for classes from other libraries?

It's possible, but complicated to explain. You need to define a custom "Type" object. Look at the getTypeFor(Class) method in kawa.standard.Scheme. That won't tell you what do do, but it will point you to examples. -- --Per Bothner per@bothner.com http://per.bothner.com/


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