aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/tree.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-17 02:37:41 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-17 02:37:41 +0100
commit59e2da485ea82fb1ee9f6f565ba5084c41f85143 (patch)
treeb8c8d110ca18c2c5b01c9b875c4945e75c1e9da0 /src/mds-kbdc/tree.h
parentm (diff)
downloadmds-59e2da485ea82fb1ee9f6f565ba5084c41f85143.tar.gz
mds-59e2da485ea82fb1ee9f6f565ba5084c41f85143.tar.bz2
mds-59e2da485ea82fb1ee9f6f565ba5084c41f85143.tar.xz
small fixes and a bunch of tests
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/tree.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mds-kbdc/tree.h b/src/mds-kbdc/tree.h
index 28d319d..f3ad7f2 100644
--- a/src/mds-kbdc/tree.h
+++ b/src/mds-kbdc/tree.h
@@ -473,7 +473,11 @@ typedef struct mds_kbdc_tree_let
/**
* Tree structure for mapping a (possible single element)
* sequence of key combinations or strings to another
- * combination or string or sequence there of
+ * combination or string or sequence thereof
+ *
+ * Inside functions this can be used for the return value,
+ * in such case `sequence` should not be `NULL` but
+ * `sequence.next` and `result` should be `NULL`
*/
typedef struct mds_kbdc_tree_map
{