Mercurial > hg > Members > Moririn
view src/parallel_execution/compare.c @ 131:a4507906938c
Fix compile error but not work
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 25 Oct 2016 00:49:28 +0900 |
parents | 1e074c3878c7 |
children |
line wrap: on
line source
#include "context.h" enum Relational compare(struct Node* node1, struct Node* node2) { int key1 = node1->key; int key2 = node2->key; if (key1 == key2) { return EQ; } else if (key1 < key2) { return GT; } else { return LT; } }