projects
/
satune.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9501af5dcc437f232c686395765e4be271a2820c
[satune.git]
/
src
/
Backend
/
orderpair.cc
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
}