This is the mail archive of the kawa@cygnus.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]

Re: [Fwd: kawa question / java interface (bug?)]


per@bothner.com wrote:
> 
> Michele Ruberl <michele.ruberl@st.com> writes:
> 
> > (define java-enumeration-has-more-elements
> >   (primitive-virtual-method "java.util.Enumeration" "hasMoreElements"
> > "boolean" ()))
> >
> > (define java-enumeration-next-element
> >   (primitive-virtual-method "java.util.Enumeration" "nextElement"
> > "object" ()) )
> 
> Try using primitive-interface-method instead.
> --
>         --Per Bothner
> bothner@pacbell.net  per@bothner.com   http://home.pacbell.net/bothner/

Thanks for the suggestion, now it works fine.

-- 
	(--cafe babe--) 
Marco Vezzoli	marco.vezzoli@st.com
CR&D Intranet Developement   STMicroelectronics
tel. +39 039 603 6043 fax. +39 039 603 5053

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