java: Added Java SWIG binding creation
%init directive is not supported in java so move %init to js/py interface files Signed-off-by: Alexander Komarov <alexander.komarov@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
c5780dceaa
commit
4302f0d0c3
@@ -106,3 +106,7 @@ class Spi;
|
||||
|
||||
%include ../mraa.i
|
||||
|
||||
%init %{
|
||||
//Adding mraa_init() to the module initialisation process
|
||||
mraa_init();
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user