comparison dependency.c @ 66:ce95c4d84fcd

integrating holistic model in common ancestor - not finished yet
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Thu, 15 Mar 2012 18:28:43 +0100
parents 3c9ed64db705
children d20b105981b7
comparison
equal deleted inserted replaced
6:7ecca131c2c6 7:b9237316199b
1 #include "dependency.h" 1 #include "dependency.h"
2 #include "../VMS_impl/VMS.h" 2 #include "VMS_impl/VMS.h"
3 3
4 Dependency* new_dependency(int from_vp, int from_task, int to_vp, int to_task){ 4 Dependency* new_dependency(int from_vp, int from_task, int to_vp, int to_task){
5 Dependency* newDep = (Dependency*) VMS_int__malloc(sizeof(Dependency)); 5 Dependency* newDep = (Dependency*) VMS_int__malloc(sizeof(Dependency));
6 if (newDep!=NULL){ 6 if (newDep!=NULL){
7 newDep->from_vp = from_vp; 7 newDep->from_vp = from_vp;