projects
/
satune.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4db56caa10259faef484c472caf684907818e769
[satune.git]
/
src
/
Backend
/
orderpair.c
1
#include "orderpair.h"
2
3
4
OrderPair* allocOrderPair(uint64_t first, uint64_t second, Edge constraint){
5
OrderPair* pair = (OrderPair*) ourmalloc(sizeof(OrderPair));
6
pair->first = first;
7
pair->second = second;
8
pair->constraint = constraint;
9
return pair;
10
}
11
12
void deleteOrderPair(OrderPair* pair){
13
ourfree(pair);
14
}