aboutsummaryrefslogtreecommitdiff
path: root/libffwd/internal.h
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-27 00:58:05 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-27 01:03:41 +0200
commitaf55803d0dff9eb692c760c8d486e736c945061d (patch)
tree0875a1112bf98304e445e0544c4309670d6f4769 /libffwd/internal.h
parent0f861b7f3098750ddee4f6570f3be228d1da5320 (diff)
downloadffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz
ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip
chore: clean up comment formatting and wording
Diffstat (limited to 'libffwd/internal.h')
-rw-r--r--libffwd/internal.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/libffwd/internal.h b/libffwd/internal.h
index a2b933a..6030c36 100644
--- a/libffwd/internal.h
+++ b/libffwd/internal.h
@@ -1,9 +1,3 @@
-/*
- * internal.h - non-exported, in-tree API shared by the frontends,
- * backends, tests, and benchmarks. The public ABI is ffwd.h; none of these
- * symbols carry FFWD_API visibility or appear in the export maps.
- */
-
#ifndef FFWD_INTERNAL_H
#define FFWD_INTERNAL_H
@@ -17,7 +11,8 @@ typedef struct ffwd_workspace ffwd_workspace_t;
typedef struct ffwd_late_model ffwd_late_model_t;
typedef struct ffwd_late_workspace ffwd_late_workspace_t;
-/* Backend-specific help text used by the in-tree frontends. */
+/* Help text used by the frontends. */
+/* TODO: tools should not depend on the internal API */
void ffwd_cli_help(FILE *f);
void ffwd_server_help(FILE *f);
@@ -91,7 +86,7 @@ int ffwd_model_encode_spans_batch(const ffwd_model_t *model,
/*
* Late-interaction CPU model API. The public engine path exposes reranking via
- * ffwd_rerank(); these entry points are for in-tree tests/backends only.
+ * ffwd_rerank(); these entry points are for tests/backends only.
*/
ffwd_late_model_t *ffwd_late_model_load(const char *model_dir);
void ffwd_late_model_free(ffwd_late_model_t *model);