aboutsummaryrefslogtreecommitdiff
path: root/include/libbio.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-22 18:15:17 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-22 18:15:17 -0700
commitfb4c4ceba416376751196cdbbdb5f7240e08a405 (patch)
treebb874085d6d7715c24da544e9f71ef05e6a2a80a /include/libbio.h
parent583656a3537bc43a28c58111520143df04bf27f2 (diff)
fix: bug squashing with newick parser
Diffstat (limited to 'include/libbio.h')
-rw-r--r--include/libbio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libbio.h b/include/libbio.h
index d8430b3..58540d4 100644
--- a/include/libbio.h
+++ b/include/libbio.h
@@ -16,7 +16,8 @@ typedef struct bio·Node
struct bio·Node *sibling;
} bio·Node;
-error phylo·addchild(bio·Node* parent, bio·Node* child);
+error phylo·addchild(bio·Node *parent, bio·Node* child);
+bool phylo·isleaf(bio·Node *node);
typedef struct bio·Tree
{
@@ -24,6 +25,7 @@ typedef struct bio·Tree
} bio·Tree;
bio·Tree bio·readnewick(Stream *file, mem·Allocator heap);
+error bio·writenewick(bio·Tree tree, Stream *out);
// -----------------------------------------------------------------------
// Sequences