1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Better check for lib has only functions (fix #138)

This commit is contained in:
Nicolas Williams
2014-07-07 16:03:32 -05:00
parent 821cd31e67
commit 8780bc0b8e
5 changed files with 23 additions and 3 deletions

View File

@@ -48,6 +48,8 @@ block gen_cbinding(const struct cfunction* functions, int nfunctions, block b);
void block_append(block* b, block b2);
block block_join(block a, block b);
int block_has_only_binders(block, int bindflags);
int block_has_main(block);
int block_is_funcdef(block b);
block block_bind(block binder, block body, int bindflags);
block block_bind_referenced(block binder, block body, int bindflags);