Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use type jboolean for boolean variables.
[simgrid.git] / src / bindings / java / org / simgrid / msg / VM.java
index 8ab6a27..6035f50 100644 (file)
@@ -78,16 +78,16 @@ public class VM extends Host {
        private native void nativeFinalize();
 
        /** Returns whether the given VM is currently suspended */      
-       public native int isCreated();
+       public native boolean isCreated();
 
        /** Returns whether the given VM is currently running */
-       public native int isRunning();
+       public native boolean isRunning();
 
        /** Returns whether the given VM is currently running */
-       public native int isMigrating();
+       public native boolean isMigrating();
 
        /** Returns whether the given VM is currently suspended */      
-       public native int isSuspended();
+       public native boolean isSuspended();
 
        /** Returns the amount of virtual CPUs provided */
        public int getCoreAmount() {