My application is built in C/C++. And it has an interface, which I would need to use.
The interface contains many *.h files. For example, mycallbacks.h :
/* mycallbacks.h */
#pragma once
#include <cstdint>
#include "commons.h"
typedef void (*SomeCallback)(int arg0 , int arg2);
SOMEMACRO StatusCode SetSomeCallback( void* context, SomeCallback scb);
Now, I need to wrap my C/C++ application into Java, using SWIG. And so I would need *.dll files and the interface *.h files, using SWIG.
How should the SWIG interface look like for "mycallbacks.i" file?
Thank a lot!