upm/src/nrf24l01/nrf24l01.i

36 lines
901 B
OpenEdge ABL
Raw Normal View History

%include "../common_top.i"
/* BEGIN Java syntax ------------------------------------------------------- */
#ifdef SWIGJAVA
#ifndef ANDROID
%module(directors="1") javaupm_nrf24l01
%feature("director") Callback;
SWIG_DIRECTOR_OWNED(Callback)
#endif
%include "arrays_java.i";
%apply signed char[] {uint8_t *};
JAVA_JNI_LOADLIBRARY(javaupm_nrf24l01)
#endif
/* END Java syntax */
/* BEGIN Javascript syntax ------------------------------------------------- */
#ifdef SWIGJAVASCRIPT
%include "../carrays_uint8_t.i"
#endif
/* END Javascript syntax */
/* BEGIN Python syntax ----------------------------------------------------- */
#ifdef SWIGPYTHON
%include "../carrays_uint8_t.i"
#endif
/* END Python syntax */
/* BEGIN Common SWIG syntax ------------------------------------------------- */
%{
#include "nrf24l01.hpp"
%}
%include "Callback.hpp"
%include "nrf24l01.hpp"
/* END Common SWIG syntax */