diff options
Diffstat (limited to 'docs/ccdjit-improvements.md')
| -rw-r--r-- | docs/ccdjit-improvements.md | 7 |
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 |
