2018-01-26 11:52:34 -08:00
|
|
|
%include "../common_top.i"
|
|
|
|
|
|
|
|
/* BEGIN Java syntax ------------------------------------------------------- */
|
|
|
|
#ifdef SWIGJAVA
|
2017-05-05 12:07:57 -07:00
|
|
|
%include "../carrays_uint32_t.i"
|
2016-06-10 12:32:54 -06:00
|
|
|
|
|
|
|
// We need to use this method for enum wrapping since the enum typedefs used
|
|
|
|
// by the derived classes (like ANALOG_VALUES_T) are passed to methods
|
|
|
|
// in the base class which expect a uint32_t. This is fine, and
|
2017-01-30 18:14:48 -08:00
|
|
|
// works everywhere except Java. Its type safety is a little too
|
2016-06-10 12:32:54 -06:00
|
|
|
// stringent in these cases. %javaconst(1) is generally recommended
|
|
|
|
// as it avoids JNI calls to determine the enumerant values at
|
|
|
|
// runtime.
|
|
|
|
%include "enumtypeunsafe.swg"
|
|
|
|
%javaconst(1);
|
2016-04-01 17:29:48 -06:00
|
|
|
|
2018-01-26 11:52:34 -08:00
|
|
|
JAVA_JNI_LOADLIBRARY(javaupm_e50hx)
|
|
|
|
#endif
|
|
|
|
/* END Java syntax */
|
|
|
|
|
|
|
|
/* BEGIN Common SWIG syntax ------------------------------------------------- */
|
|
|
|
%{
|
|
|
|
#include "bacnetmstp.hpp"
|
|
|
|
#include "bacnetutil.hpp"
|
|
|
|
#include "e50hx.hpp"
|
|
|
|
%}
|
2016-04-25 14:27:51 -07:00
|
|
|
%include "bacnetmstp.hpp"
|
2016-06-10 12:32:54 -06:00
|
|
|
%include "bacnetutil.hpp"
|
2016-04-25 14:27:51 -07:00
|
|
|
%include "e50hx.hpp"
|
2018-01-26 11:52:34 -08:00
|
|
|
/* END Common SWIG syntax */
|