diff options
author | Neil <nyamatongwe@gmail.com> | 2024-11-20 08:14:38 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-11-20 08:14:38 +1100 |
commit | 36da5818ccb71317b088857673bc3e75f0982616 (patch) | |
tree | 7ce4f0ea5661e2bce30ab1c29a99fe85430691fa | |
parent | 4eca2124896b93b8a542811edeb9d930bdae0668 (diff) | |
download | scintilla-mirror-36da5818ccb71317b088857673bc3e75f0982616.tar.gz |
Bug [#2454]. Add "NUL-terminated" qualifiers to APIs that NUL-terminate result.
-rw-r--r-- | doc/ScintillaDoc.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index ef9b9fe67..393a4b96f 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -8654,7 +8654,7 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ <p>If the value argument is 0 then the length that should be allocated to store the value is returned; again, the terminating 0 is not included.</p> - <p><b id="SCI_GETPROPERTYEXPANDED">SCI_GETPROPERTYEXPANDED(const char *key, char *value) → int</b><br /> + <p><b id="SCI_GETPROPERTYEXPANDED">SCI_GETPROPERTYEXPANDED(const char *key, char *value NUL-terminated) → int</b><br /> This is now the same as <a class="message" href="#SCI_GETPROPERTY"><code>SCI_GETPROPERTY</code></a> - no expansion is performed.</p> @@ -8742,13 +8742,13 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ <p><b id="SCI_GETNAMEDSTYLES">SCI_GETNAMEDSTYLES → int</b><br /> Retrieve the number of named styles for the lexer.</p> - <p><b id="SCI_NAMEOFSTYLE">SCI_NAMEOFSTYLE(int style, char *name) → int</b><br /> + <p><b id="SCI_NAMEOFSTYLE">SCI_NAMEOFSTYLE(int style, char *name NUL-terminated) → int</b><br /> Retrieve the name of a style. This is a C preprocessor symbol like "SCE_C_COMMENTDOC".</p> - <p><b id="SCI_TAGSOFSTYLE">SCI_TAGSOFSTYLE(int style, char *tags) → int</b><br /> + <p><b id="SCI_TAGSOFSTYLE">SCI_TAGSOFSTYLE(int style, char *tags NUL-terminated) → int</b><br /> Retrieve the tags of a style. This is a space-separated set of words like "comment documentation".</p> - <p><b id="SCI_DESCRIPTIONOFSTYLE">SCI_DESCRIPTIONOFSTYLE(int style, char *description) → int</b><br /> + <p><b id="SCI_DESCRIPTIONOFSTYLE">SCI_DESCRIPTIONOFSTYLE(int style, char *description NUL-terminated) → int</b><br /> Retrieve an English-language description of a style which may be suitable for display in a user interface. This looks like "Doc comment: block comments beginning with /** or /*!".</p> |