Integration with C
Andrew Haley
aph@redhat.com
Tue Apr 22 10:01:00 GMT 2003
gbevin@uwyn.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.
More information about the Java
mailing list