Moved SWIG code from C++ files (hpp and cxx) to SWIG interface files (.i). Added getter/setter methods for classes with protected or private vars.
This commit is contained in:
@@ -11,4 +11,13 @@
|
||||
|
||||
%include "ttp223.hpp"
|
||||
|
||||
#%ignore installISR(mraa::Edge , void *, void *)
|
||||
|
||||
%extend upm::TTP223 {
|
||||
void installISR(mraa::Edge level, jobject runnable)
|
||||
{
|
||||
$self->installISR(level, mraa_java_isr_callback, runnable);
|
||||
}
|
||||
}
|
||||
|
||||
JAVA_JNI_LOADLIBRARY(javaupm_ttp223)
|
||||
|
||||
Reference in New Issue
Block a user