aboutsummaryrefslogtreecommitdiff
path: root/docs/ccdjit-improvements.md
diff options
context:
space:
mode:
authorDavid Moc <personal@cdatgoose.org>2026-06-02 14:15:25 +0200
committerDavid Moc <personal@cdatgoose.org>2026-06-02 14:15:25 +0200
commitb68766967c86a6a789d65772f69f7f44939ebdf2 (patch)
treec65d5a929931d9d52b5717f6577a876d73e66491 /docs/ccdjit-improvements.md
parenta15cb041654ae307add0b998b526c87c3f42bf5f (diff)
Add API completion signatures
Diffstat (limited to 'docs/ccdjit-improvements.md')
-rw-r--r--docs/ccdjit-improvements.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/ccdjit-improvements.md b/docs/ccdjit-improvements.md
index 4b48589..ef4469e 100644
--- a/docs/ccdjit-improvements.md
+++ b/docs/ccdjit-improvements.md
@@ -37,9 +37,10 @@ currently favors integer-only plugin helpers, host-owned objects, and copy-based
text because those paths are predictable.
Static completion lists should use `ecex_define_word_completion_provider` plus
-`ecex_completion_provider_add_words`. That passes one string literal blob over
-the host boundary and avoids depending on JIT-side `const char *` array
-indexing.
+`ecex_completion_provider_add_words`, or `ecex_completion_provider_add_entries`
+when each candidate needs its own signature/detail. Both forms pass one string
+literal blob over the host boundary and avoid depending on JIT-side
+`const char *` array indexing.
Runtime plugin callbacks should avoid variadic C library calls such as
`snprintf`. Build strings with fixed-arity helpers or host APIs instead; the C