Permalink
Browse files

Add missing common.h and document installation. (fixes #1)

  • Loading branch information...
1 parent ba1fd6c commit 0128db25969f32a833c64a21041280522aabfd9b @dcjones committed Jul 5, 2012
Showing with 30 additions and 0 deletions.
  1. +11 −0 README.md
  2. +19 −0 src/common.h
View
@@ -20,4 +20,15 @@ For details see,
91–102). Springer.
+Installation
+------------
+
+ git clone git@github.com:dcjones/hat-trie.git
+ cd hat-trie
+ autoreconf -i
+ ./configure
+ make install
+
+To use the library, include `hat-trie.h` and link using `lhat-trie`.
+
View
@@ -0,0 +1,19 @@
+/*
+ * This file is part of hat-trie.
+ *
+ * Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>
+ *
+ *
+ * Common typedefs, etc.
+ *
+ */
+
+
+#ifndef HATTRIE_COMMON_H
+#define HATTRIE_COMMON_H
+
+typedef unsigned long value_t;
+
+#endif
+
+

0 comments on commit 0128db2

Please sign in to comment.