/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.7
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.7
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
*jarr = (*jenv)->GetByteArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (signed char*) calloc(sz, sizeof(signed char));
+ *carr = (signed char*) malloc(sz * sizeof(signed char));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetShortArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (unsigned char*) calloc(sz, sizeof(unsigned char));
+ *carr = (unsigned char*) malloc(sz * sizeof(unsigned char));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetShortArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (short*) calloc(sz, sizeof(short));
+ *carr = (short*) malloc(sz * sizeof(short));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetIntArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (unsigned short*) calloc(sz, sizeof(unsigned short));
+ *carr = (unsigned short*) malloc(sz * sizeof(unsigned short));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetIntArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (int*) calloc(sz, sizeof(int));
+ *carr = (int*) malloc(sz * sizeof(int));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetLongArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (unsigned int*) calloc(sz, sizeof(unsigned int));
+ *carr = (unsigned int*) malloc(sz * sizeof(unsigned int));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetIntArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (long*) calloc(sz, sizeof(long));
+ *carr = (long*) malloc(sz * sizeof(long));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetLongArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (unsigned long*) calloc(sz, sizeof(unsigned long));
+ *carr = (unsigned long*) malloc(sz * sizeof(unsigned long));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetLongArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (jlong*) calloc(sz, sizeof(jlong));
+ *carr = (jlong*) malloc(sz * sizeof(jlong));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetFloatArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (float*) calloc(sz, sizeof(float));
+ *carr = (float*) malloc(sz * sizeof(float));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
*jarr = (*jenv)->GetDoubleArrayElements(jenv, input, 0);
if (!*jarr)
return 0;
- *carr = (double*) calloc(sz, sizeof(double));
+ *carr = (double*) malloc(sz * sizeof(double));
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.7
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 3.0.7
+ *
+ * This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGJAVA
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public class Controller {
- private long swigCPtr;
- protected boolean swigCMemOwn;
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
- protected Controller(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(Controller obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if (swigCPtr != 0) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- JavaControllerJNI.delete_Controller(swigCPtr);
- }
- swigCPtr = 0;
- }
- }
-
- public Controller() {
- this(JavaControllerJNI.new_Controller(), true);
- }
-
- public long createObject(Kind k) {
- return JavaControllerJNI.Controller_createObject(swigCPtr, this, k.ordinal());
- }
-
- public long referenceObject(long uid) {
- return JavaControllerJNI.Controller_referenceObject(swigCPtr, this, uid);
- }
-
- public void deleteObject(long uid) {
- JavaControllerJNI.Controller_deleteObject(swigCPtr, this, uid);
- }
-
- public long cloneObject(long uid, boolean cloneChildren) {
- return JavaControllerJNI.Controller_cloneObject(swigCPtr, this, uid, cloneChildren);
- }
-
- public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, int[] v) {
- return JavaControllerJNI.Controller_getObjectProperty__SWIG_1(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v);
- }
-
- public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, double[] v) {
- return JavaControllerJNI.Controller_getObjectProperty__SWIG_2(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v);
- }
-
- public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, String[] v) {
- return JavaControllerJNI.Controller_getObjectProperty__SWIG_3(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v);
- }
-
- public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, long[] v) {
- return JavaControllerJNI.Controller_getObjectProperty__SWIG_4(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v);
- }
-
- public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfInt v) {
- return JavaControllerJNI.Controller_getObjectProperty__SWIG_5(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfInt.getCPtr(v), v);
- }
-
- public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfDouble v) {
- return JavaControllerJNI.Controller_getObjectProperty__SWIG_6(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfDouble.getCPtr(v), v);
- }
-
- public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfString v) {
- return JavaControllerJNI.Controller_getObjectProperty__SWIG_7(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfString.getCPtr(v), v);
- }
-
- public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfScicosID v) {
- return JavaControllerJNI.Controller_getObjectProperty__SWIG_8(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfScicosID.getCPtr(v), v);
- }
-
- public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, int v) {
- return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_1(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v)];
- }
-
- public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, double v) {
- return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_2(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v)];
- }
-
- public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, String v) {
- return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_3(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v)];
- }
-
- public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, long v) {
- return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_4(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v)];
- }
-
- public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfInt v) {
- return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_5(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfInt.getCPtr(v), v)];
- }
-
- public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfDouble v) {
- return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_6(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfDouble.getCPtr(v), v)];
- }
-
- public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfString v) {
- return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_7(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfString.getCPtr(v), v)];
- }
-
- public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfScicosID v) {
- return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_8(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfScicosID.getCPtr(v), v)];
- }
+ protected Controller(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(Controller obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ JavaControllerJNI.delete_Controller(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ }
+
+ public Controller() {
+ this(JavaControllerJNI.new_Controller(), true);
+ }
+
+ public long createObject(Kind k) {
+ return JavaControllerJNI.Controller_createObject(swigCPtr, this, k.ordinal());
+ }
+
+ public long referenceObject(long uid) {
+ return JavaControllerJNI.Controller_referenceObject(swigCPtr, this, uid);
+ }
+
+ public void deleteObject(long uid) {
+ JavaControllerJNI.Controller_deleteObject(swigCPtr, this, uid);
+ }
+
+ public long cloneObject(long uid, boolean cloneChildren) {
+ return JavaControllerJNI.Controller_cloneObject(swigCPtr, this, uid, cloneChildren);
+ }
+
+ public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, int[] v) {
+ return JavaControllerJNI.Controller_getObjectProperty__SWIG_1(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v);
+ }
+
+ public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, double[] v) {
+ return JavaControllerJNI.Controller_getObjectProperty__SWIG_2(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v);
+ }
+
+ public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, String[] v) {
+ return JavaControllerJNI.Controller_getObjectProperty__SWIG_3(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v);
+ }
+
+ public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, long[] v) {
+ return JavaControllerJNI.Controller_getObjectProperty__SWIG_4(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v);
+ }
+
+ public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfInt v) {
+ return JavaControllerJNI.Controller_getObjectProperty__SWIG_5(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfInt.getCPtr(v), v);
+ }
+
+ public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfDouble v) {
+ return JavaControllerJNI.Controller_getObjectProperty__SWIG_6(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfDouble.getCPtr(v), v);
+ }
+
+ public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfString v) {
+ return JavaControllerJNI.Controller_getObjectProperty__SWIG_7(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfString.getCPtr(v), v);
+ }
+
+ public boolean getObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfScicosID v) {
+ return JavaControllerJNI.Controller_getObjectProperty__SWIG_8(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfScicosID.getCPtr(v), v);
+ }
+
+ public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, int v) {
+ return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_1(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v)];
+ }
+
+ public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, double v) {
+ return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_2(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v)];
+ }
+
+ public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, String v) {
+ return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_3(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v)];
+ }
+
+ public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, long v) {
+ return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_4(swigCPtr, this, uid, k.ordinal(), p.ordinal(), v)];
+ }
+
+ public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfInt v) {
+ return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_5(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfInt.getCPtr(v), v)];
+ }
+
+ public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfDouble v) {
+ return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_6(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfDouble.getCPtr(v), v)];
+ }
+
+ public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfString v) {
+ return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_7(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfString.getCPtr(v), v)];
+ }
+
+ public UpdateStatus setObjectProperty(long uid, Kind k, ObjectProperties p, VectorOfScicosID v) {
+ return UpdateStatus.class.getEnumConstants()[JavaControllerJNI.Controller_setObjectProperty__SWIG_8(swigCPtr, this, uid, k.ordinal(), p.ordinal(), VectorOfScicosID.getCPtr(v), v)];
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
public class JavaController extends Controller {
- // will contains all registered JavaViews to prevent garbage-collection
+ // will contains all registered JavaViews to prevent garbage-collection
private static ArrayList<View> references = new ArrayList<View>();
-
+
private static long add_reference(View v) {
references.add(v);
return View.getCPtr(v);
}
- public static void register_view(String name, View view) {
- JavaControllerJNI.register_view(name, add_reference(view), view);
- }
+ public static void register_view(String name, View view) {
+ JavaControllerJNI.register_view(name, add_reference(view), view);
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public class JavaControllerJNI {
- public final static native long new_View();
- public final static native void delete_View(long jarg1);
- public final static native void View_objectCreated(long jarg1, View jarg1_, long jarg2, int jarg3);
- public final static native void View_objectDeleted(long jarg1, View jarg1_, long jarg2, int jarg3);
- public final static native void View_objectUpdated(long jarg1, View jarg1_, long jarg2, int jarg3);
- public final static native void View_propertyUpdated__SWIG_0(long jarg1, View jarg1_, long jarg2, int jarg3, int jarg4);
- public final static native void View_propertyUpdated__SWIG_1(long jarg1, View jarg1_, long jarg2, int jarg3, int jarg4, int jarg5);
- public final static native void View_director_connect(View obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void View_change_ownership(View obj, long cptr, boolean take_or_release);
- public final static native long new_Controller();
- public final static native void delete_Controller(long jarg1);
- public final static native long Controller_createObject(long jarg1, Controller jarg1_, int jarg2);
- public final static native long Controller_referenceObject(long jarg1, Controller jarg1_, long jarg2);
- public final static native void Controller_deleteObject(long jarg1, Controller jarg1_, long jarg2);
- public final static native long Controller_cloneObject(long jarg1, Controller jarg1_, long jarg2, boolean jarg3);
- public final static native boolean Controller_getObjectProperty__SWIG_1(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, int[] jarg5);
- public final static native boolean Controller_getObjectProperty__SWIG_2(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, double[] jarg5);
- public final static native boolean Controller_getObjectProperty__SWIG_3(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, String[] jarg5);
- public final static native boolean Controller_getObjectProperty__SWIG_4(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long[] jarg5);
- public final static native boolean Controller_getObjectProperty__SWIG_5(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfInt jarg5_);
- public final static native boolean Controller_getObjectProperty__SWIG_6(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfDouble jarg5_);
- public final static native boolean Controller_getObjectProperty__SWIG_7(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfString jarg5_);
- public final static native boolean Controller_getObjectProperty__SWIG_8(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfScicosID jarg5_);
- public final static native int Controller_setObjectProperty__SWIG_1(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, int jarg5);
- public final static native int Controller_setObjectProperty__SWIG_2(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, double jarg5);
- public final static native int Controller_setObjectProperty__SWIG_3(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, String jarg5);
- public final static native int Controller_setObjectProperty__SWIG_4(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5);
- public final static native int Controller_setObjectProperty__SWIG_5(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfInt jarg5_);
- public final static native int Controller_setObjectProperty__SWIG_6(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfDouble jarg5_);
- public final static native int Controller_setObjectProperty__SWIG_7(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfString jarg5_);
- public final static native int Controller_setObjectProperty__SWIG_8(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfScicosID jarg5_);
- public final static native long new_VectorOfDouble__SWIG_0();
- public final static native long new_VectorOfDouble__SWIG_1(long jarg1);
- public final static native long VectorOfDouble_size(long jarg1, VectorOfDouble jarg1_);
- public final static native long VectorOfDouble_capacity(long jarg1, VectorOfDouble jarg1_);
- public final static native void VectorOfDouble_reserve(long jarg1, VectorOfDouble jarg1_, long jarg2);
- public final static native boolean VectorOfDouble_isEmpty(long jarg1, VectorOfDouble jarg1_);
- public final static native void VectorOfDouble_clear(long jarg1, VectorOfDouble jarg1_);
- public final static native void VectorOfDouble_add(long jarg1, VectorOfDouble jarg1_, double jarg2);
- public final static native double VectorOfDouble_get(long jarg1, VectorOfDouble jarg1_, int jarg2);
- public final static native void VectorOfDouble_set(long jarg1, VectorOfDouble jarg1_, int jarg2, double jarg3);
- public final static native void delete_VectorOfDouble(long jarg1);
- public final static native long new_VectorOfInt__SWIG_0();
- public final static native long new_VectorOfInt__SWIG_1(long jarg1);
- public final static native long VectorOfInt_size(long jarg1, VectorOfInt jarg1_);
- public final static native long VectorOfInt_capacity(long jarg1, VectorOfInt jarg1_);
- public final static native void VectorOfInt_reserve(long jarg1, VectorOfInt jarg1_, long jarg2);
- public final static native boolean VectorOfInt_isEmpty(long jarg1, VectorOfInt jarg1_);
- public final static native void VectorOfInt_clear(long jarg1, VectorOfInt jarg1_);
- public final static native void VectorOfInt_add(long jarg1, VectorOfInt jarg1_, int jarg2);
- public final static native int VectorOfInt_get(long jarg1, VectorOfInt jarg1_, int jarg2);
- public final static native void VectorOfInt_set(long jarg1, VectorOfInt jarg1_, int jarg2, int jarg3);
- public final static native void delete_VectorOfInt(long jarg1);
- public final static native long new_VectorOfBool__SWIG_0();
- public final static native long new_VectorOfBool__SWIG_1(long jarg1);
- public final static native long VectorOfBool_size(long jarg1, VectorOfBool jarg1_);
- public final static native long VectorOfBool_capacity(long jarg1, VectorOfBool jarg1_);
- public final static native void VectorOfBool_reserve(long jarg1, VectorOfBool jarg1_, long jarg2);
- public final static native boolean VectorOfBool_isEmpty(long jarg1, VectorOfBool jarg1_);
- public final static native void VectorOfBool_clear(long jarg1, VectorOfBool jarg1_);
- public final static native void VectorOfBool_add(long jarg1, VectorOfBool jarg1_, boolean jarg2);
- public final static native boolean VectorOfBool_get(long jarg1, VectorOfBool jarg1_, int jarg2);
- public final static native void VectorOfBool_set(long jarg1, VectorOfBool jarg1_, int jarg2, boolean jarg3);
- public final static native void delete_VectorOfBool(long jarg1);
- public final static native long new_VectorOfString__SWIG_0();
- public final static native long new_VectorOfString__SWIG_1(long jarg1);
- public final static native long VectorOfString_size(long jarg1, VectorOfString jarg1_);
- public final static native long VectorOfString_capacity(long jarg1, VectorOfString jarg1_);
- public final static native void VectorOfString_reserve(long jarg1, VectorOfString jarg1_, long jarg2);
- public final static native boolean VectorOfString_isEmpty(long jarg1, VectorOfString jarg1_);
- public final static native void VectorOfString_clear(long jarg1, VectorOfString jarg1_);
- public final static native void VectorOfString_add(long jarg1, VectorOfString jarg1_, String jarg2);
- public final static native String VectorOfString_get(long jarg1, VectorOfString jarg1_, int jarg2);
- public final static native void VectorOfString_set(long jarg1, VectorOfString jarg1_, int jarg2, String jarg3);
- public final static native void delete_VectorOfString(long jarg1);
- public final static native long new_VectorOfScicosID__SWIG_0();
- public final static native long new_VectorOfScicosID__SWIG_1(long jarg1);
- public final static native long VectorOfScicosID_size(long jarg1, VectorOfScicosID jarg1_);
- public final static native long VectorOfScicosID_capacity(long jarg1, VectorOfScicosID jarg1_);
- public final static native void VectorOfScicosID_reserve(long jarg1, VectorOfScicosID jarg1_, long jarg2);
- public final static native boolean VectorOfScicosID_isEmpty(long jarg1, VectorOfScicosID jarg1_);
- public final static native void VectorOfScicosID_clear(long jarg1, VectorOfScicosID jarg1_);
- public final static native void VectorOfScicosID_add(long jarg1, VectorOfScicosID jarg1_, long jarg2);
- public final static native long VectorOfScicosID_get(long jarg1, VectorOfScicosID jarg1_, int jarg2);
- public final static native void VectorOfScicosID_set(long jarg1, VectorOfScicosID jarg1_, int jarg2, long jarg3);
- public final static native void delete_VectorOfScicosID(long jarg1);
- public final static native void register_view(String jarg1, long jarg2, View jarg2_);
+ public final static native long new_View();
+ public final static native void delete_View(long jarg1);
+ public final static native void View_objectCreated(long jarg1, View jarg1_, long jarg2, int jarg3);
+ public final static native void View_objectDeleted(long jarg1, View jarg1_, long jarg2, int jarg3);
+ public final static native void View_objectUpdated(long jarg1, View jarg1_, long jarg2, int jarg3);
+ public final static native void View_propertyUpdated__SWIG_0(long jarg1, View jarg1_, long jarg2, int jarg3, int jarg4);
+ public final static native void View_propertyUpdated__SWIG_1(long jarg1, View jarg1_, long jarg2, int jarg3, int jarg4, int jarg5);
+ public final static native void View_director_connect(View obj, long cptr, boolean mem_own, boolean weak_global);
+ public final static native void View_change_ownership(View obj, long cptr, boolean take_or_release);
+ public final static native long new_Controller();
+ public final static native void delete_Controller(long jarg1);
+ public final static native long Controller_createObject(long jarg1, Controller jarg1_, int jarg2);
+ public final static native long Controller_referenceObject(long jarg1, Controller jarg1_, long jarg2);
+ public final static native void Controller_deleteObject(long jarg1, Controller jarg1_, long jarg2);
+ public final static native long Controller_cloneObject(long jarg1, Controller jarg1_, long jarg2, boolean jarg3);
+ public final static native boolean Controller_getObjectProperty__SWIG_1(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, int[] jarg5);
+ public final static native boolean Controller_getObjectProperty__SWIG_2(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, double[] jarg5);
+ public final static native boolean Controller_getObjectProperty__SWIG_3(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, String[] jarg5);
+ public final static native boolean Controller_getObjectProperty__SWIG_4(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long[] jarg5);
+ public final static native boolean Controller_getObjectProperty__SWIG_5(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfInt jarg5_);
+ public final static native boolean Controller_getObjectProperty__SWIG_6(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfDouble jarg5_);
+ public final static native boolean Controller_getObjectProperty__SWIG_7(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfString jarg5_);
+ public final static native boolean Controller_getObjectProperty__SWIG_8(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfScicosID jarg5_);
+ public final static native int Controller_setObjectProperty__SWIG_1(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, int jarg5);
+ public final static native int Controller_setObjectProperty__SWIG_2(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, double jarg5);
+ public final static native int Controller_setObjectProperty__SWIG_3(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, String jarg5);
+ public final static native int Controller_setObjectProperty__SWIG_4(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5);
+ public final static native int Controller_setObjectProperty__SWIG_5(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfInt jarg5_);
+ public final static native int Controller_setObjectProperty__SWIG_6(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfDouble jarg5_);
+ public final static native int Controller_setObjectProperty__SWIG_7(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfString jarg5_);
+ public final static native int Controller_setObjectProperty__SWIG_8(long jarg1, Controller jarg1_, long jarg2, int jarg3, int jarg4, long jarg5, VectorOfScicosID jarg5_);
+ public final static native long new_VectorOfDouble__SWIG_0();
+ public final static native long new_VectorOfDouble__SWIG_1(long jarg1);
+ public final static native long VectorOfDouble_size(long jarg1, VectorOfDouble jarg1_);
+ public final static native long VectorOfDouble_capacity(long jarg1, VectorOfDouble jarg1_);
+ public final static native void VectorOfDouble_reserve(long jarg1, VectorOfDouble jarg1_, long jarg2);
+ public final static native boolean VectorOfDouble_isEmpty(long jarg1, VectorOfDouble jarg1_);
+ public final static native void VectorOfDouble_clear(long jarg1, VectorOfDouble jarg1_);
+ public final static native void VectorOfDouble_add(long jarg1, VectorOfDouble jarg1_, double jarg2);
+ public final static native double VectorOfDouble_get(long jarg1, VectorOfDouble jarg1_, int jarg2);
+ public final static native void VectorOfDouble_set(long jarg1, VectorOfDouble jarg1_, int jarg2, double jarg3);
+ public final static native void delete_VectorOfDouble(long jarg1);
+ public final static native long new_VectorOfInt__SWIG_0();
+ public final static native long new_VectorOfInt__SWIG_1(long jarg1);
+ public final static native long VectorOfInt_size(long jarg1, VectorOfInt jarg1_);
+ public final static native long VectorOfInt_capacity(long jarg1, VectorOfInt jarg1_);
+ public final static native void VectorOfInt_reserve(long jarg1, VectorOfInt jarg1_, long jarg2);
+ public final static native boolean VectorOfInt_isEmpty(long jarg1, VectorOfInt jarg1_);
+ public final static native void VectorOfInt_clear(long jarg1, VectorOfInt jarg1_);
+ public final static native void VectorOfInt_add(long jarg1, VectorOfInt jarg1_, int jarg2);
+ public final static native int VectorOfInt_get(long jarg1, VectorOfInt jarg1_, int jarg2);
+ public final static native void VectorOfInt_set(long jarg1, VectorOfInt jarg1_, int jarg2, int jarg3);
+ public final static native void delete_VectorOfInt(long jarg1);
+ public final static native long new_VectorOfBool__SWIG_0();
+ public final static native long new_VectorOfBool__SWIG_1(long jarg1);
+ public final static native long VectorOfBool_size(long jarg1, VectorOfBool jarg1_);
+ public final static native long VectorOfBool_capacity(long jarg1, VectorOfBool jarg1_);
+ public final static native void VectorOfBool_reserve(long jarg1, VectorOfBool jarg1_, long jarg2);
+ public final static native boolean VectorOfBool_isEmpty(long jarg1, VectorOfBool jarg1_);
+ public final static native void VectorOfBool_clear(long jarg1, VectorOfBool jarg1_);
+ public final static native void VectorOfBool_add(long jarg1, VectorOfBool jarg1_, boolean jarg2);
+ public final static native boolean VectorOfBool_get(long jarg1, VectorOfBool jarg1_, int jarg2);
+ public final static native void VectorOfBool_set(long jarg1, VectorOfBool jarg1_, int jarg2, boolean jarg3);
+ public final static native void delete_VectorOfBool(long jarg1);
+ public final static native long new_VectorOfString__SWIG_0();
+ public final static native long new_VectorOfString__SWIG_1(long jarg1);
+ public final static native long VectorOfString_size(long jarg1, VectorOfString jarg1_);
+ public final static native long VectorOfString_capacity(long jarg1, VectorOfString jarg1_);
+ public final static native void VectorOfString_reserve(long jarg1, VectorOfString jarg1_, long jarg2);
+ public final static native boolean VectorOfString_isEmpty(long jarg1, VectorOfString jarg1_);
+ public final static native void VectorOfString_clear(long jarg1, VectorOfString jarg1_);
+ public final static native void VectorOfString_add(long jarg1, VectorOfString jarg1_, String jarg2);
+ public final static native String VectorOfString_get(long jarg1, VectorOfString jarg1_, int jarg2);
+ public final static native void VectorOfString_set(long jarg1, VectorOfString jarg1_, int jarg2, String jarg3);
+ public final static native void delete_VectorOfString(long jarg1);
+ public final static native long new_VectorOfScicosID__SWIG_0();
+ public final static native long new_VectorOfScicosID__SWIG_1(long jarg1);
+ public final static native long VectorOfScicosID_size(long jarg1, VectorOfScicosID jarg1_);
+ public final static native long VectorOfScicosID_capacity(long jarg1, VectorOfScicosID jarg1_);
+ public final static native void VectorOfScicosID_reserve(long jarg1, VectorOfScicosID jarg1_, long jarg2);
+ public final static native boolean VectorOfScicosID_isEmpty(long jarg1, VectorOfScicosID jarg1_);
+ public final static native void VectorOfScicosID_clear(long jarg1, VectorOfScicosID jarg1_);
+ public final static native void VectorOfScicosID_add(long jarg1, VectorOfScicosID jarg1_, long jarg2);
+ public final static native long VectorOfScicosID_get(long jarg1, VectorOfScicosID jarg1_, int jarg2);
+ public final static native void VectorOfScicosID_set(long jarg1, VectorOfScicosID jarg1_, int jarg2, long jarg3);
+ public final static native void delete_VectorOfScicosID(long jarg1);
+ public final static native void register_view(String jarg1, long jarg2, View jarg2_);
- static {
- try {
- System.loadLibrary("scixcos");
- } catch (SecurityException e) {
- System.err.println("A security manager exists and does not allow the loading of the specified dynamic library.");
- System.err.println(e.getLocalizedMessage());
- System.exit(-1);
- } catch (UnsatisfiedLinkError e) {
- System.err.println("The native library scicommons does not exist or cannot be found.");
- if (System.getenv("CONTINUE_ON_JNI_ERROR") == null) {
- System.err.println(e.getLocalizedMessage());
- System.err.println("Current java.library.path is : " + System.getProperty("java.library.path"));
- System.exit(-1);
- } else {
- System.err.println("Continuing anyway because of CONTINUE_ON_JNI_ERROR");
- }
+ static {
+ try {
+ System.loadLibrary("scixcos");
+ } catch (SecurityException e) {
+ System.err.println("A security manager exists and does not allow the loading of the specified dynamic library.");
+ System.err.println(e.getLocalizedMessage());
+ System.exit(-1);
+ } catch (UnsatisfiedLinkError e) {
+ System.err.println("The native library scicommons does not exist or cannot be found.");
+ if (System.getenv("CONTINUE_ON_JNI_ERROR") == null) {
+ System.err.println(e.getLocalizedMessage());
+ System.err.println("Current java.library.path is : "+System.getProperty("java.library.path"));
+ System.exit(-1);
+ }else{
+ System.err.println("Continuing anyway because of CONTINUE_ON_JNI_ERROR");
}
}
+ }
- public static void SwigDirector_View_objectCreated(View jself, long uid, int k) {
- jself.objectCreated(uid, Kind.class.getEnumConstants()[k]);
- }
- public static void SwigDirector_View_objectDeleted(View jself, long uid, int k) {
- jself.objectDeleted(uid, Kind.class.getEnumConstants()[k]);
- }
- public static void SwigDirector_View_objectUpdated(View jself, long uid, int k) {
- jself.objectUpdated(uid, Kind.class.getEnumConstants()[k]);
- }
- public static void SwigDirector_View_propertyUpdated__SWIG_0(View jself, long uid, int k, int p) {
- jself.propertyUpdated(uid, Kind.class.getEnumConstants()[k], ObjectProperties.class.getEnumConstants()[p]);
- }
+ public static void SwigDirector_View_objectCreated(View jself, long uid, int k) {
+ jself.objectCreated(uid, Kind.class.getEnumConstants()[k]);
+ }
+ public static void SwigDirector_View_objectDeleted(View jself, long uid, int k) {
+ jself.objectDeleted(uid, Kind.class.getEnumConstants()[k]);
+ }
+ public static void SwigDirector_View_objectUpdated(View jself, long uid, int k) {
+ jself.objectUpdated(uid, Kind.class.getEnumConstants()[k]);
+ }
+ public static void SwigDirector_View_propertyUpdated__SWIG_0(View jself, long uid, int k, int p) {
+ jself.propertyUpdated(uid, Kind.class.getEnumConstants()[k], ObjectProperties.class.getEnumConstants()[p]);
+ }
- private final static native void swig_module_init();
- static {
- swig_module_init();
- }
+ private final static native void swig_module_init();
+ static {
+ swig_module_init();
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public enum Kind {
- ANNOTATION,
- BLOCK,
- DIAGRAM,
- LINK,
- PORT;
+ ANNOTATION,
+ BLOCK,
+ DIAGRAM,
+ LINK,
+ PORT;
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public enum ObjectProperties {
- PARENT_DIAGRAM,
- PARENT_BLOCK,
- GEOMETRY,
- DESCRIPTION,
- FONT,
- FONT_SIZE,
- RELATED_TO,
- INTERFACE_FUNCTION,
- SIM_FUNCTION_NAME,
- SIM_FUNCTION_API,
- SIM_SCHEDULE,
- SIM_BLOCKTYPE,
- SIM_DEP_UT,
- ANGLE,
- EXPRS,
- INPUTS,
- OUTPUTS,
- EVENT_INPUTS,
- EVENT_OUTPUTS,
- STATE,
- DSTATE,
- ODSTATE,
- NZCROSS,
- NMODE,
- RPAR,
- IPAR,
- OPAR,
- EQUATIONS,
- UID,
- CHILDREN,
- PORT_REFERENCE,
- STYLE,
- LABEL,
- DESTINATION_PORT,
- SOURCE_PORT,
- CONTROL_POINTS,
- THICK,
- COLOR,
- KIND,
- FROM,
- TO,
- DATATYPE,
- DATATYPE_ROWS,
- DATATYPE_COLS,
- DATATYPE_TYPE,
- FIRING,
- SOURCE_BLOCK,
- PORT_KIND,
- IMPLICIT,
- PORT_NUMBER,
- CONNECTED_SIGNALS,
- TITLE,
- PATH,
- PROPERTIES,
- DIAGRAM_CONTEXT,
- VERSION_NUMBER,
- MAX_OBJECT_PROPERTIES;
+ PARENT_DIAGRAM,
+ PARENT_BLOCK,
+ GEOMETRY,
+ DESCRIPTION,
+ FONT,
+ FONT_SIZE,
+ RELATED_TO,
+ INTERFACE_FUNCTION,
+ SIM_FUNCTION_NAME,
+ SIM_FUNCTION_API,
+ SIM_SCHEDULE,
+ SIM_BLOCKTYPE,
+ SIM_DEP_UT,
+ ANGLE,
+ EXPRS,
+ INPUTS,
+ OUTPUTS,
+ EVENT_INPUTS,
+ EVENT_OUTPUTS,
+ STATE,
+ DSTATE,
+ ODSTATE,
+ NZCROSS,
+ NMODE,
+ RPAR,
+ IPAR,
+ OPAR,
+ EQUATIONS,
+ UID,
+ CHILDREN,
+ PORT_REFERENCE,
+ STYLE,
+ LABEL,
+ DESTINATION_PORT,
+ SOURCE_PORT,
+ CONTROL_POINTS,
+ THICK,
+ COLOR,
+ KIND,
+ FROM,
+ TO,
+ DATATYPE,
+ DATATYPE_ROWS,
+ DATATYPE_COLS,
+ DATATYPE_TYPE,
+ FIRING,
+ SOURCE_BLOCK,
+ PORT_KIND,
+ IMPLICIT,
+ PORT_NUMBER,
+ CONNECTED_SIGNALS,
+ TITLE,
+ PATH,
+ PROPERTIES,
+ DIAGRAM_CONTEXT,
+ VERSION_NUMBER,
+ MAX_OBJECT_PROPERTIES;
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public enum UpdateStatus {
- SUCCESS,
- NO_CHANGES,
- FAIL;
+ SUCCESS,
+ NO_CHANGES,
+ FAIL;
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public class VectorOfBool {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected VectorOfBool(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected VectorOfBool(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(VectorOfBool obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ JavaControllerJNI.delete_VectorOfBool(swigCPtr);
+ }
+ swigCPtr = 0;
}
+ }
- protected static long getCPtr(VectorOfBool obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
+ public VectorOfBool() {
+ this(JavaControllerJNI.new_VectorOfBool__SWIG_0(), true);
+ }
- protected void finalize() {
- delete();
- }
+ public VectorOfBool(long n) {
+ this(JavaControllerJNI.new_VectorOfBool__SWIG_1(n), true);
+ }
- public synchronized void delete() {
- if (swigCPtr != 0) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- JavaControllerJNI.delete_VectorOfBool(swigCPtr);
- }
- swigCPtr = 0;
- }
- }
+ public long size() {
+ return JavaControllerJNI.VectorOfBool_size(swigCPtr, this);
+ }
- public VectorOfBool() {
- this(JavaControllerJNI.new_VectorOfBool__SWIG_0(), true);
- }
+ public long capacity() {
+ return JavaControllerJNI.VectorOfBool_capacity(swigCPtr, this);
+ }
- public VectorOfBool(long n) {
- this(JavaControllerJNI.new_VectorOfBool__SWIG_1(n), true);
- }
+ public void reserve(long n) {
+ JavaControllerJNI.VectorOfBool_reserve(swigCPtr, this, n);
+ }
- public long size() {
- return JavaControllerJNI.VectorOfBool_size(swigCPtr, this);
- }
+ public boolean isEmpty() {
+ return JavaControllerJNI.VectorOfBool_isEmpty(swigCPtr, this);
+ }
- public long capacity() {
- return JavaControllerJNI.VectorOfBool_capacity(swigCPtr, this);
- }
+ public void clear() {
+ JavaControllerJNI.VectorOfBool_clear(swigCPtr, this);
+ }
- public void reserve(long n) {
- JavaControllerJNI.VectorOfBool_reserve(swigCPtr, this, n);
- }
+ public void add(boolean x) {
+ JavaControllerJNI.VectorOfBool_add(swigCPtr, this, x);
+ }
- public boolean isEmpty() {
- return JavaControllerJNI.VectorOfBool_isEmpty(swigCPtr, this);
- }
-
- public void clear() {
- JavaControllerJNI.VectorOfBool_clear(swigCPtr, this);
- }
-
- public void add(boolean x) {
- JavaControllerJNI.VectorOfBool_add(swigCPtr, this, x);
- }
-
- public boolean get(int i) {
- return JavaControllerJNI.VectorOfBool_get(swigCPtr, this, i);
- }
+ public boolean get(int i) {
+ return JavaControllerJNI.VectorOfBool_get(swigCPtr, this, i);
+ }
- public void set(int i, boolean val) {
- JavaControllerJNI.VectorOfBool_set(swigCPtr, this, i, val);
- }
+ public void set(int i, boolean val) {
+ JavaControllerJNI.VectorOfBool_set(swigCPtr, this, i, val);
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public class VectorOfDouble {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected VectorOfDouble(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected VectorOfDouble(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(VectorOfDouble obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ JavaControllerJNI.delete_VectorOfDouble(swigCPtr);
+ }
+ swigCPtr = 0;
}
+ }
- protected static long getCPtr(VectorOfDouble obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
+ public VectorOfDouble() {
+ this(JavaControllerJNI.new_VectorOfDouble__SWIG_0(), true);
+ }
- protected void finalize() {
- delete();
- }
+ public VectorOfDouble(long n) {
+ this(JavaControllerJNI.new_VectorOfDouble__SWIG_1(n), true);
+ }
- public synchronized void delete() {
- if (swigCPtr != 0) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- JavaControllerJNI.delete_VectorOfDouble(swigCPtr);
- }
- swigCPtr = 0;
- }
- }
+ public long size() {
+ return JavaControllerJNI.VectorOfDouble_size(swigCPtr, this);
+ }
- public VectorOfDouble() {
- this(JavaControllerJNI.new_VectorOfDouble__SWIG_0(), true);
- }
+ public long capacity() {
+ return JavaControllerJNI.VectorOfDouble_capacity(swigCPtr, this);
+ }
- public VectorOfDouble(long n) {
- this(JavaControllerJNI.new_VectorOfDouble__SWIG_1(n), true);
- }
+ public void reserve(long n) {
+ JavaControllerJNI.VectorOfDouble_reserve(swigCPtr, this, n);
+ }
- public long size() {
- return JavaControllerJNI.VectorOfDouble_size(swigCPtr, this);
- }
+ public boolean isEmpty() {
+ return JavaControllerJNI.VectorOfDouble_isEmpty(swigCPtr, this);
+ }
- public long capacity() {
- return JavaControllerJNI.VectorOfDouble_capacity(swigCPtr, this);
- }
+ public void clear() {
+ JavaControllerJNI.VectorOfDouble_clear(swigCPtr, this);
+ }
- public void reserve(long n) {
- JavaControllerJNI.VectorOfDouble_reserve(swigCPtr, this, n);
- }
+ public void add(double x) {
+ JavaControllerJNI.VectorOfDouble_add(swigCPtr, this, x);
+ }
- public boolean isEmpty() {
- return JavaControllerJNI.VectorOfDouble_isEmpty(swigCPtr, this);
- }
-
- public void clear() {
- JavaControllerJNI.VectorOfDouble_clear(swigCPtr, this);
- }
-
- public void add(double x) {
- JavaControllerJNI.VectorOfDouble_add(swigCPtr, this, x);
- }
-
- public double get(int i) {
- return JavaControllerJNI.VectorOfDouble_get(swigCPtr, this, i);
- }
+ public double get(int i) {
+ return JavaControllerJNI.VectorOfDouble_get(swigCPtr, this, i);
+ }
- public void set(int i, double val) {
- JavaControllerJNI.VectorOfDouble_set(swigCPtr, this, i, val);
- }
+ public void set(int i, double val) {
+ JavaControllerJNI.VectorOfDouble_set(swigCPtr, this, i, val);
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public class VectorOfInt {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected VectorOfInt(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected VectorOfInt(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(VectorOfInt obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ JavaControllerJNI.delete_VectorOfInt(swigCPtr);
+ }
+ swigCPtr = 0;
}
+ }
- protected static long getCPtr(VectorOfInt obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
+ public VectorOfInt() {
+ this(JavaControllerJNI.new_VectorOfInt__SWIG_0(), true);
+ }
- protected void finalize() {
- delete();
- }
+ public VectorOfInt(long n) {
+ this(JavaControllerJNI.new_VectorOfInt__SWIG_1(n), true);
+ }
- public synchronized void delete() {
- if (swigCPtr != 0) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- JavaControllerJNI.delete_VectorOfInt(swigCPtr);
- }
- swigCPtr = 0;
- }
- }
+ public long size() {
+ return JavaControllerJNI.VectorOfInt_size(swigCPtr, this);
+ }
- public VectorOfInt() {
- this(JavaControllerJNI.new_VectorOfInt__SWIG_0(), true);
- }
+ public long capacity() {
+ return JavaControllerJNI.VectorOfInt_capacity(swigCPtr, this);
+ }
- public VectorOfInt(long n) {
- this(JavaControllerJNI.new_VectorOfInt__SWIG_1(n), true);
- }
+ public void reserve(long n) {
+ JavaControllerJNI.VectorOfInt_reserve(swigCPtr, this, n);
+ }
- public long size() {
- return JavaControllerJNI.VectorOfInt_size(swigCPtr, this);
- }
+ public boolean isEmpty() {
+ return JavaControllerJNI.VectorOfInt_isEmpty(swigCPtr, this);
+ }
- public long capacity() {
- return JavaControllerJNI.VectorOfInt_capacity(swigCPtr, this);
- }
+ public void clear() {
+ JavaControllerJNI.VectorOfInt_clear(swigCPtr, this);
+ }
- public void reserve(long n) {
- JavaControllerJNI.VectorOfInt_reserve(swigCPtr, this, n);
- }
+ public void add(int x) {
+ JavaControllerJNI.VectorOfInt_add(swigCPtr, this, x);
+ }
- public boolean isEmpty() {
- return JavaControllerJNI.VectorOfInt_isEmpty(swigCPtr, this);
- }
-
- public void clear() {
- JavaControllerJNI.VectorOfInt_clear(swigCPtr, this);
- }
-
- public void add(int x) {
- JavaControllerJNI.VectorOfInt_add(swigCPtr, this, x);
- }
-
- public int get(int i) {
- return JavaControllerJNI.VectorOfInt_get(swigCPtr, this, i);
- }
+ public int get(int i) {
+ return JavaControllerJNI.VectorOfInt_get(swigCPtr, this, i);
+ }
- public void set(int i, int val) {
- JavaControllerJNI.VectorOfInt_set(swigCPtr, this, i, val);
- }
+ public void set(int i, int val) {
+ JavaControllerJNI.VectorOfInt_set(swigCPtr, this, i, val);
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public class VectorOfScicosID {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected VectorOfScicosID(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected VectorOfScicosID(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(VectorOfScicosID obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ JavaControllerJNI.delete_VectorOfScicosID(swigCPtr);
+ }
+ swigCPtr = 0;
}
+ }
- protected static long getCPtr(VectorOfScicosID obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
+ public VectorOfScicosID() {
+ this(JavaControllerJNI.new_VectorOfScicosID__SWIG_0(), true);
+ }
- protected void finalize() {
- delete();
- }
+ public VectorOfScicosID(long n) {
+ this(JavaControllerJNI.new_VectorOfScicosID__SWIG_1(n), true);
+ }
- public synchronized void delete() {
- if (swigCPtr != 0) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- JavaControllerJNI.delete_VectorOfScicosID(swigCPtr);
- }
- swigCPtr = 0;
- }
- }
+ public long size() {
+ return JavaControllerJNI.VectorOfScicosID_size(swigCPtr, this);
+ }
- public VectorOfScicosID() {
- this(JavaControllerJNI.new_VectorOfScicosID__SWIG_0(), true);
- }
+ public long capacity() {
+ return JavaControllerJNI.VectorOfScicosID_capacity(swigCPtr, this);
+ }
- public VectorOfScicosID(long n) {
- this(JavaControllerJNI.new_VectorOfScicosID__SWIG_1(n), true);
- }
+ public void reserve(long n) {
+ JavaControllerJNI.VectorOfScicosID_reserve(swigCPtr, this, n);
+ }
- public long size() {
- return JavaControllerJNI.VectorOfScicosID_size(swigCPtr, this);
- }
+ public boolean isEmpty() {
+ return JavaControllerJNI.VectorOfScicosID_isEmpty(swigCPtr, this);
+ }
- public long capacity() {
- return JavaControllerJNI.VectorOfScicosID_capacity(swigCPtr, this);
- }
+ public void clear() {
+ JavaControllerJNI.VectorOfScicosID_clear(swigCPtr, this);
+ }
- public void reserve(long n) {
- JavaControllerJNI.VectorOfScicosID_reserve(swigCPtr, this, n);
- }
+ public void add(long x) {
+ JavaControllerJNI.VectorOfScicosID_add(swigCPtr, this, x);
+ }
- public boolean isEmpty() {
- return JavaControllerJNI.VectorOfScicosID_isEmpty(swigCPtr, this);
- }
-
- public void clear() {
- JavaControllerJNI.VectorOfScicosID_clear(swigCPtr, this);
- }
-
- public void add(long x) {
- JavaControllerJNI.VectorOfScicosID_add(swigCPtr, this, x);
- }
-
- public long get(int i) {
- return JavaControllerJNI.VectorOfScicosID_get(swigCPtr, this, i);
- }
+ public long get(int i) {
+ return JavaControllerJNI.VectorOfScicosID_get(swigCPtr, this, i);
+ }
- public void set(int i, long val) {
- JavaControllerJNI.VectorOfScicosID_set(swigCPtr, this, i, val);
- }
+ public void set(int i, long val) {
+ JavaControllerJNI.VectorOfScicosID_set(swigCPtr, this, i, val);
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public class VectorOfString {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected VectorOfString(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected VectorOfString(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(VectorOfString obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ JavaControllerJNI.delete_VectorOfString(swigCPtr);
+ }
+ swigCPtr = 0;
}
+ }
- protected static long getCPtr(VectorOfString obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
+ public VectorOfString() {
+ this(JavaControllerJNI.new_VectorOfString__SWIG_0(), true);
+ }
- protected void finalize() {
- delete();
- }
+ public VectorOfString(long n) {
+ this(JavaControllerJNI.new_VectorOfString__SWIG_1(n), true);
+ }
- public synchronized void delete() {
- if (swigCPtr != 0) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- JavaControllerJNI.delete_VectorOfString(swigCPtr);
- }
- swigCPtr = 0;
- }
- }
+ public long size() {
+ return JavaControllerJNI.VectorOfString_size(swigCPtr, this);
+ }
- public VectorOfString() {
- this(JavaControllerJNI.new_VectorOfString__SWIG_0(), true);
- }
+ public long capacity() {
+ return JavaControllerJNI.VectorOfString_capacity(swigCPtr, this);
+ }
- public VectorOfString(long n) {
- this(JavaControllerJNI.new_VectorOfString__SWIG_1(n), true);
- }
+ public void reserve(long n) {
+ JavaControllerJNI.VectorOfString_reserve(swigCPtr, this, n);
+ }
- public long size() {
- return JavaControllerJNI.VectorOfString_size(swigCPtr, this);
- }
+ public boolean isEmpty() {
+ return JavaControllerJNI.VectorOfString_isEmpty(swigCPtr, this);
+ }
- public long capacity() {
- return JavaControllerJNI.VectorOfString_capacity(swigCPtr, this);
- }
+ public void clear() {
+ JavaControllerJNI.VectorOfString_clear(swigCPtr, this);
+ }
- public void reserve(long n) {
- JavaControllerJNI.VectorOfString_reserve(swigCPtr, this, n);
- }
+ public void add(String x) {
+ JavaControllerJNI.VectorOfString_add(swigCPtr, this, x);
+ }
- public boolean isEmpty() {
- return JavaControllerJNI.VectorOfString_isEmpty(swigCPtr, this);
- }
-
- public void clear() {
- JavaControllerJNI.VectorOfString_clear(swigCPtr, this);
- }
-
- public void add(String x) {
- JavaControllerJNI.VectorOfString_add(swigCPtr, this, x);
- }
-
- public String get(int i) {
- return JavaControllerJNI.VectorOfString_get(swigCPtr, this, i);
- }
+ public String get(int i) {
+ return JavaControllerJNI.VectorOfString_get(swigCPtr, this, i);
+ }
- public void set(int i, String val) {
- JavaControllerJNI.VectorOfString_set(swigCPtr, this, i, val);
- }
+ public void set(int i, String val) {
+ JavaControllerJNI.VectorOfString_set(swigCPtr, this, i, val);
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
package org.scilab.modules.xcos;
public class View {
- private long swigCPtr;
- protected boolean swigCMemOwn;
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
- protected View(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(View obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
+ protected View(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
- protected void finalize() {
- delete();
- }
+ protected static long getCPtr(View obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
- public synchronized void delete() {
- if (swigCPtr != 0) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- JavaControllerJNI.delete_View(swigCPtr);
- }
- swigCPtr = 0;
- }
- }
+ protected void finalize() {
+ delete();
+ }
- protected void swigDirectorDisconnect() {
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- JavaControllerJNI.View_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- JavaControllerJNI.View_change_ownership(this, swigCPtr, true);
- }
-
- public View() {
- this(JavaControllerJNI.new_View(), true);
- JavaControllerJNI.View_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public void objectCreated(long uid, Kind k) {
- JavaControllerJNI.View_objectCreated(swigCPtr, this, uid, k.ordinal());
- }
-
- public void objectDeleted(long uid, Kind k) {
- JavaControllerJNI.View_objectDeleted(swigCPtr, this, uid, k.ordinal());
- }
-
- public void objectUpdated(long uid, Kind k) {
- JavaControllerJNI.View_objectUpdated(swigCPtr, this, uid, k.ordinal());
- }
-
- public void propertyUpdated(long uid, Kind k, ObjectProperties p) {
- JavaControllerJNI.View_propertyUpdated__SWIG_0(swigCPtr, this, uid, k.ordinal(), p.ordinal());
- }
-
- public void propertyUpdated(long arg0, Kind arg1, ObjectProperties arg2, UpdateStatus arg3) {
- JavaControllerJNI.View_propertyUpdated__SWIG_1(swigCPtr, this, arg0, arg1.ordinal(), arg2.ordinal(), arg3.ordinal());
+ JavaControllerJNI.delete_View(swigCPtr);
+ }
+ swigCPtr = 0;
}
+ }
+
+ protected void swigDirectorDisconnect() {
+ swigCMemOwn = false;
+ delete();
+ }
+
+ public void swigReleaseOwnership() {
+ swigCMemOwn = false;
+ JavaControllerJNI.View_change_ownership(this, swigCPtr, false);
+ }
+
+ public void swigTakeOwnership() {
+ swigCMemOwn = true;
+ JavaControllerJNI.View_change_ownership(this, swigCPtr, true);
+ }
+
+ public View() {
+ this(JavaControllerJNI.new_View(), true);
+ JavaControllerJNI.View_director_connect(this, swigCPtr, swigCMemOwn, true);
+ }
+
+ public void objectCreated(long uid, Kind k) {
+ JavaControllerJNI.View_objectCreated(swigCPtr, this, uid, k.ordinal());
+ }
+
+ public void objectDeleted(long uid, Kind k) {
+ JavaControllerJNI.View_objectDeleted(swigCPtr, this, uid, k.ordinal());
+ }
+
+ public void objectUpdated(long uid, Kind k) {
+ JavaControllerJNI.View_objectUpdated(swigCPtr, this, uid, k.ordinal());
+ }
+
+ public void propertyUpdated(long uid, Kind k, ObjectProperties p) {
+ JavaControllerJNI.View_propertyUpdated__SWIG_0(swigCPtr, this, uid, k.ordinal(), p.ordinal());
+ }
+
+ public void propertyUpdated(long arg0, Kind arg1, ObjectProperties arg2, UpdateStatus arg3) {
+ JavaControllerJNI.View_propertyUpdated__SWIG_1(swigCPtr, this, arg0, arg1.ordinal(), arg2.ordinal(), arg3.ordinal());
+ }
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
# define _SCL_SECURE_NO_DEPRECATE
#endif
+/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
+#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
+# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+#endif
+
+/* Intel's compiler complains if a variable which was never initialised is
+ * cast to void, which is a common idiom which we use to indicate that we
+ * are aware a variable isn't used. So we just silence that warning.
+ * See: https://github.com/swig/swig/issues/192 for more discussion.
+ */
+#ifdef __INTEL_COMPILER
+# pragma warning disable 592
+#endif
/* Fix for jlong on some versions of gcc on Windows */
#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
/* -----------------------------------------------------------------------------
+ * director_common.swg
+ *
+ * This file contains support for director classes which is common between
+ * languages.
+ * ----------------------------------------------------------------------------- */
+
+/*
+ Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the
+ 'Swig' namespace. This could be useful for multi-modules projects.
+*/
+#ifdef SWIG_DIRECTOR_STATIC
+/* Force anonymous (static) namespace */
+#define Swig
+#endif
+/* -----------------------------------------------------------------------------
* director.swg
*
* This file contains support for director classes so that Java proxy
}
};
+ // Zero initialized bool array
+ template<size_t N> class BoolArray {
+ bool array_[N];
+ public:
+ BoolArray() {
+ memset(array_, 0, sizeof(array_));
+ }
+ bool& operator[](size_t n) {
+ return array_[n];
+ }
+ bool operator[](size_t n) const {
+ return array_[n];
+ }
+ };
// Utility classes and functions for exception handling.
static char *copystr(const char *srcmsg) {
char *target = 0;
if (srcmsg) {
- int msglen = strlen(srcmsg) + 1;
+ size_t msglen = strlen(srcmsg) + 1;
target = new char[msglen];
strncpy(target, srcmsg, msglen);
}
};
// Helper method to determine if a Java throwable matches a particular Java class type
- bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) {
+ SWIGINTERN bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) {
bool matches = false;
if (throwable && jenv && classname) {
namespace Swig {
namespace {
jclass jclass_JavaControllerJNI = NULL;
- jmethodID director_methids[4];
+ jmethodID director_method_ids[4];
}
}
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juid = (jlong)uid;
jk = (jint) k;
- jenv->CallStaticVoidMethod(Swig::jclass_JavaControllerJNI, Swig::director_methids[0], swigjobj, juid, jk);
+ jenv->CallStaticVoidMethod(Swig::jclass_JavaControllerJNI, Swig::director_method_ids[0], swigjobj, juid, jk);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juid = (jlong)uid;
jk = (jint) k;
- jenv->CallStaticVoidMethod(Swig::jclass_JavaControllerJNI, Swig::director_methids[1], swigjobj, juid, jk);
+ jenv->CallStaticVoidMethod(Swig::jclass_JavaControllerJNI, Swig::director_method_ids[1], swigjobj, juid, jk);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juid = (jlong)uid;
jk = (jint) k;
- jenv->CallStaticVoidMethod(Swig::jclass_JavaControllerJNI, Swig::director_methids[2], swigjobj, juid, jk);
+ jenv->CallStaticVoidMethod(Swig::jclass_JavaControllerJNI, Swig::director_method_ids[2], swigjobj, juid, jk);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
juid = (jlong)uid;
jk = (jint) k;
jp = (jint) p;
- jenv->CallStaticVoidMethod(Swig::jclass_JavaControllerJNI, Swig::director_methids[3], swigjobj, juid, jk, jp);
+ jenv->CallStaticVoidMethod(Swig::jclass_JavaControllerJNI, Swig::director_method_ids[3], swigjobj, juid, jk, jp);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
Swig::jclass_JavaControllerJNI = (jclass) jenv->NewGlobalRef(jcls);
if (!Swig::jclass_JavaControllerJNI) return;
for (i = 0; i < (int) (sizeof(methods)/sizeof(methods[0])); ++i) {
- Swig::director_methids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature);
- if (!Swig::director_methids[i]) return;
+ Swig::director_method_ids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature);
+ if (!Swig::director_method_ids[i]) return;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.5
+ * Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
return (n < 4 ? swig_override[n] : false);
}
protected:
- bool swig_override[4];
+ Swig::BoolArray<4> swig_override;
};