comparison dependency.c @ 78:0d04c3e608cc

Creating a new branch for development of the DKU Pattern
author Sean Halle <seanhalle@yahoo.com>
date Sun, 26 Aug 2012 02:49:34 -0700
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;