summaryrefslogtreecommitdiffstats
path: root/src/expr.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-05 14:18:53 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-05 14:18:53 -0500
commitd1e532ed839c1b2be093c88006fcf4cd3d11805d (patch)
tree192167ec829c5dbd4e73bc5abce535127c481343 /src/expr.h
parentd6a1b97b0eece42bb18a171ccdfcec7082d5f2d0 (diff)
downloadbfs-d1e532ed839c1b2be093c88006fcf4cd3d11805d.tar.xz
expr: Rename bfs_expr_has_children() to _is_parent()
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.h b/src/expr.h
index e541d8e..a52007a 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -210,7 +210,7 @@ struct bfs_expr *bfs_expr_new(bfs_eval_fn *eval, size_t argc, char **argv);
/**
* @return Whether the expression has child expressions.
*/
-bool bfs_expr_has_children(const struct bfs_expr *expr);
+bool bfs_expr_is_parent(const struct bfs_expr *expr);
/**
* @return Whether expr is known to always quit.