Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Indent include and src using this command:
[simgrid.git] / src / bindings / rubyDag / rb_SD_task.h
index 3a45924..8121cb8 100644 (file)
@@ -9,40 +9,48 @@
 
 #include <ruby.h>
 #include <simdag/simdag.h>
-#include "xbt/sysdep.h" 
+#include "xbt/sysdep.h"
 
 
 // Free Method
 static void SD_task_free(SD_task_t tk); // needed by ruby while wrapping
 
 //destroy
-static void rb_SD_task_destory(VALUE Class,VALUE task);
+static void rb_SD_task_destory(VALUE Class, VALUE task);
 
 // New Method  
-static VALUE rb_SD_task_new(VALUE Class, VALUE name,VALUE amount); //data set to NULL
+static VALUE rb_SD_task_new(VALUE Class, VALUE name, VALUE amount);     //data set to NULL
 
 //Get Name
-static VALUE rb_SD_task_name(VALUE Class,VALUE task);
+static VALUE rb_SD_task_name(VALUE Class, VALUE task);
 
 // Schedule Task
-static void rb_SD_task_schedule(VALUE Class,VALUE task,VALUE workstation_nb,VALUE workstation_list,VALUE comp_amount,VALUE comm_amount,VALUE rate);
+static void rb_SD_task_schedule(VALUE Class, VALUE task,
+                                VALUE workstation_nb,
+                                VALUE workstation_list, VALUE comp_amount,
+                                VALUE comm_amount, VALUE rate);
 
 // unschedule Task
-static void rb_SD_task_unschedule(VALUE Class,VALUE task);
+static void rb_SD_task_unschedule(VALUE Class, VALUE task);
 
 // task dependency Add ( name & data set to NULL)
-static void rb_SD_task_add_dependency(VALUE Class,VALUE task_src,VALUE task_dst);
+static void rb_SD_task_add_dependency(VALUE Class, VALUE task_src,
+                                      VALUE task_dst);
 
 // task execution time
-static VALUE rb_SD_task_execution_time(VALUE Class,VALUE task,VALUE workstation_nb,VALUE workstation_list,VALUE comp_amount,VALUE comm_amount,VALUE rate);
+static VALUE rb_SD_task_execution_time(VALUE Class, VALUE task,
+                                       VALUE workstation_nb,
+                                       VALUE workstation_list,
+                                       VALUE comp_amount,
+                                       VALUE comm_amount, VALUE rate);
 
 // task start time
-static VALUE rb_SD_task_start_time(VALUE Class,VALUE task);
+static VALUE rb_SD_task_start_time(VALUE Class, VALUE task);
 
 // task finish time
-static VALUE rb_SD_task_finish_time(VALUE Class,VALUE task);
+static VALUE rb_SD_task_finish_time(VALUE Class, VALUE task);
 
 // simulation
-static VALUE rb_SD_simulate(VALUE Class,VALUE how_long);
+static VALUE rb_SD_simulate(VALUE Class, VALUE how_long);
 
-#endif
\ No newline at end of file
+#endif