diff options
author | Adrian Thurston <thurston@colm.net> | 2018-06-15 11:34:13 +0700 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-06-15 11:35:10 +0700 |
commit | d5e0774c3b986bf58a7faff0e2ea1c56928a260b (patch) | |
tree | 6e77f64ce132cfa792713e0e10afe19a32476484 /src/tree.h | |
parent | 75ea06cbf7c922c0bdbc717c2bb7882f06e7ac68 (diff) | |
download | colm-d5e0774c3b986bf58a7faff0e2ea1c56928a260b.tar.gz |
pass prg to colm_tree_upref and maintian first struct id
Diffstat (limited to 'src/tree.h')
-rw-r--r-- | src/tree.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -214,7 +214,8 @@ typedef struct colm_user_iter long search_id; } user_iter_t; -void colm_tree_upref( tree_t *tree ); +void colm_tree_upref_( tree_t *tree ); +void colm_tree_upref( struct colm_program *prg, tree_t *tree ); void colm_tree_downref( struct colm_program *prg, tree_t **sp, tree_t *tree ); long colm_cmp_tree( struct colm_program *prg, const tree_t *tree1, const tree_t *tree2 ); |