aboutsummaryrefslogtreecommitdiff
path: root/d2tk
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-05-21 19:14:01 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-05-21 19:14:01 +0200
commit9c2db75cd45750891f16d6570300592bcc04a72f (patch)
tree5eb3beb6db3bd16a545270d3cc18c88e8b339145 /d2tk
parentc87e3dd3de510f920cfa39b2c60847ecbe01dc8f (diff)
downloadd2tk-9c2db75cd45750891f16d6570300592bcc04a72f.tar.xz
base: add d2tk_flowmatrix_get_{src,dst} methods.
Diffstat (limited to 'd2tk')
-rw-r--r--d2tk/base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/d2tk/base.h b/d2tk/base.h
index 2d4774f..2e31ed2 100644
--- a/d2tk/base.h
+++ b/d2tk/base.h
@@ -480,6 +480,12 @@ D2TK_API void
d2tk_flowmatrix_set_dst(d2tk_flowmatrix_t *flowmatrix, d2tk_id_t id,
const d2tk_pos_t *pos);
+D2TK_API d2tk_id_t
+d2tk_flowmatrix_get_src(d2tk_flowmatrix_t *flowmatrix, d2tk_pos_t *pos);
+
+D2TK_API d2tk_id_t
+d2tk_flowmatrix_get_dst(d2tk_flowmatrix_t *flowmatrix, d2tk_pos_t *pos);
+
D2TK_API d2tk_flowmatrix_node_t *
d2tk_flowmatrix_node_begin(d2tk_base_t *base, d2tk_flowmatrix_t *flowmatrix,
d2tk_pos_t *pos, d2tk_flowmatrix_node_t *node);