diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-04-28 16:32:06 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-04-28 16:32:06 -0700 |
commit | a48e7f9fd525b4da828605fb7be4d2a35dde4e23 (patch) | |
tree | 51b7def97deeaa70c8003225fabd2bb62a1101f4 /include/libbio.h | |
parent | a6d9c8be245ef171423ddeb8466a27ad715012e0 (diff) |
feat: prototype of rerooting function
Diffstat (limited to 'include/libbio.h')
-rw-r--r-- | include/libbio.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libbio.h b/include/libbio.h index 5d6f6f8..9eebb0b 100644 --- a/include/libbio.h +++ b/include/libbio.h @@ -20,6 +20,9 @@ typedef struct bio·Tree { bio·Node *root; int nleaf; + + mem·Allocator heap; + void *h; } bio·Tree; // clade functions @@ -32,7 +35,7 @@ error phylo·countleafs(bio·Node *node, int *n); error phylo·ladderize(bio·Node *root); /* newick i/o */ -error bio·readnewick(io·Peeker stream, void*, mem·Allocator heap, void*, bio·Tree* tree); +error bio·readnewick(io·Peeker stream, void*, bio·Tree* tree); error bio·writenewick(bio·Tree tree, io·Putter out, void*); // ----------------------------------------------------------------------- |