X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6760cb07d6b57be16928d95339d71e57c4e24f36..d8d4e03ef0522097adb78ee606e5f9cc489c0d29:/src/bindings/rubyDag/rb_SD_workstation.c diff --git a/src/bindings/rubyDag/rb_SD_workstation.c b/src/bindings/rubyDag/rb_SD_workstation.c index 615a745884..cdea23bc18 100644 --- a/src/bindings/rubyDag/rb_SD_workstation.c +++ b/src/bindings/rubyDag/rb_SD_workstation.c @@ -4,25 +4,29 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +//#include "ruby_simdag.h" #include "rb_SD_workstation.h" + static void SD_workstation_free(SD_workstation_t wrk) { //NOTHING TO DO } + // Workstation list static VALUE rb_SD_workstation_list(VALUE class) { - - int i,nb; + + int i, nb; nb = SD_workstation_get_number(); VALUE workstation_list = rb_ary_new2(nb); - for (i=0;i