projects
/
satune.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of ssh://demsky.eecs.uci.edu/home/git/constraint_compiler into...
[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
}