I am using Swig to convert a provided C++ interface to Java. The interface contains a method
extern ClassA* MethodA(UCHAR arg1, UINT32 arg2)
where UCHAR and UINT32 are typdefds of integers and char made in the interface. MethodA is not within a class or namespace but just located in a file.
The user has to implement the method since the interface makes a callback to it. Somehow I want that callback to be made in my Java code. Is there a way to solve this? I have access to the interface header files but the implementation.
/ Petter Lönnstedt