]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/libjorte/JORTEDomainMgrDestroy.c
improved JAVA interface from Lukas, update makefiles from msvc from Jan
[orte.git] / orte / libjorte / JORTEDomainMgrDestroy.c
index 4bef67e8640bddc9675c3e9545bda4b2d685faf9..640bbcaf6b27c17ccaff19c86c6695b7ef8324c9 100644 (file)
 // origin orte headers
 #include "orte.h"
 // pregenerated header
-#include "jorte/org_ocera_orte_Manager.h"
-
+#include "jorte/org_ocera_orte_DomainMgr.h"
+#include "jorte/4all.h"
 
 
 JNIEXPORT jboolean JNICALL
-Java_org_ocera_orte_Manager_jORTEDomainMgrDestroy
+Java_org_ocera_orte_DomainMgr_jORTEDomainMgrDestroy
 (JNIEnv *env, jclass cls, jint dhandle)
 {
   int8_t     b;
 
-  // call the liborte function
+  // call ORTE function
   b = ORTEDomainMgrDestroy((ORTEDomain *) dhandle);
   if(b == ORTE_OK)
   {
-    //printf(":c: ORTEDomainMgrDestroy() succesfuly.. \n");
+    #ifdef TEST_STAGE
+      printf(":c: mgrDomain destroy successfully.. \n");
+    #endif
     return 1;
   }
   if (b == ORTE_BAD_HANDLE)
-    printf(":!c: ORTEDomainMgrDestroy() failed! (bad domain handle..) \n");
+    printf(":!c: mgrDomain destroy failed! [bad domain handle] \n");
   return 0;
 }