Mercurial > hg > GearsTemplate
view src/parallel_execution/compare.c @ 199:9c85c3a34726
Cmake macro
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 19 Dec 2016 11:36:18 +0900 |
parents | a4507906938c |
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; } }