From: Alan W. I. <ir...@be...> - 2002-12-31 23:55:01
|
> I am still having difficulty with the three functions (plgdev, plgfnam, and > plgver) that return a string in their argument list, but that and some > quickie documentation are all there is left that I want to do for now with > the new raw java interface. I gave up on these three functions. Basically swig allows you to arrange your wrapper C code any way you like so I did that to my best (limited) knowledge of JNI. Unfortunately, the hand-crafted javabind.c did not have a template I could follow here. Nevertheless, from my reading of the JNI tutorial by Sun, I felt the generated code should have passed the string back properly to the Java environment. It didn't work (it seemed to build okay, but it acted like a no-op). Thus, I have now commented these 3 functions out of the interface and noted this limitation (and all other java interface limitations I am aware of) in bindings/java/README.javaAPI. I have also put other documentation of the new interface in that file. That completes the "quickie" documentation and thus completes my raw Java interface effort for now. Cheers and congratulatory speeches will now be accepted....;-) Happy New Year's Eve, everybody! Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |