Merge remote-tracking branch 'origin/master' into JIMS
[scilab.git] / scilab / modules / core / src / c / dynamic_gateways.c
index 1c1535a..6958970 100644 (file)
@@ -460,6 +460,22 @@ int gw_dynamic_external_objects(void)
                               &ptr_gw_external_objects);
 }
 /*--------------------------------------------------------------------------*/
+/* external_objects_java module */
+#define EXTERNAL_OBJECTS_JAVA_MODULE_NAME "external_objects_java"
+static DynLibHandle hExternal_Objects_JavaLib = NULL;
+static PROC_GATEWAY ptr_gw_external_objects_java = NULL;
+static char* dynlibname_external_objects_java = NULL;
+static char* gatewayname_external_objects_java = NULL;
+/*--------------------------------------------------------------------------*/
+int gw_dynamic_external_objects_java(void)
+{
+    return gw_dynamic_generic(EXTERNAL_OBJECTS_JAVA_MODULE_NAME,
+                              &dynlibname_external_objects_java,
+                              &gatewayname_external_objects_java,
+                              &hExternal_Objects_JavaLib,
+                              &ptr_gw_external_objects_java);
+}
+/*--------------------------------------------------------------------------*/
 void freeAllDynamicGateways(void)
 {
     freeDynamicGateway(&dynlibname_special_functions,
@@ -587,6 +603,11 @@ void freeAllDynamicGateways(void)
                        &gatewayname_external_objects,
                        &hExternal_ObjectsLib,
                        &ptr_gw_external_objects);
+
+    freeDynamicGateway(&dynlibname_external_objects_java,
+                       &gatewayname_external_objects_java,
+                       &hExternal_Objects_JavaLib,
+                       &ptr_gw_external_objects_java);
 }
 /*--------------------------------------------------------------------------*/