This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Integration with C
gbevin at uwyn dot com writes:
> Andrew Haley wrote:
> > Sure, provide this function in your header file:
> >
> > static inline void setfoo (fptr z)
> > {
> > javaclass::setfoo ((RawData)z);
> > }
>
> Yes ! That was the missing link :-) I suppose the best way is to add
> this with the gcjh -append option in the build process?
I'd just just use a nested include. Your users include your
hand-coded header file which in turn includes the auto-generated file.
Andrew.