mraajava.i: The director now uses a GlobalRef instead of a WeakRef to the IsrCallback object
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
36fabe3245
commit
d80e4295aa
@@ -57,6 +57,7 @@ class Spi;
|
||||
%ignore read(char* data, int length);
|
||||
|
||||
%feature("director") IsrCallback;
|
||||
SWIG_DIRECTOR_OWNED(IsrCallback)
|
||||
%include ../mraa.i
|
||||
|
||||
%wrapper %{
|
||||
|
||||
Reference in New Issue
Block a user