java: Migrate IsrCallbacks to Java's Runnable class
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
78a4d12a37
commit
c63e38a57e
@@ -44,6 +44,12 @@ extern "C" {
|
||||
#include <Python.h>
|
||||
#endif
|
||||
|
||||
#if defined(SWIGJAVA) || defined(JAVACALLBACK)
|
||||
#include <jni.h>
|
||||
extern JavaVM *globVM;
|
||||
extern void mraa_java_isr_callback(void *);
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <pthread.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user