runtime(doc): update develop assumptions
Commit:
https://github.com/vim/vim/commit/46ec899026a8e7fe81410e76efdf5bdccfd22616
Author: Damien Lejay <[email protected]>
Date: Fri Aug 8 12:51:23 2025 +0200
runtime(doc): update develop assumptions
closes: https://github.com/vim/vim/issues/17892
Signed-off-by: Damien Lejay <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index 9b2e21b5d..8fc3121ab 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -1,4 +1,4 @@
-*develop.txt* For Vim version 9.1. Last change: 2025 Jul 22
+*develop.txt* For Vim version 9.1. Last change: 2025 Aug 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -291,8 +291,8 @@ initialized from words listed in COMMON items in the affix
file, so that it
also works when starting a new file.
This isn't ideal, because the longer Vim is running the higher the counts
-become. But in practice it is a noticeable improvement over not using the word
-count.
+become. But in practice it is a noticeable improvement over not using the
+word count.
==============================================================================
3. Assumptions *design-assumptions*
@@ -338,7 +338,8 @@ Therefore, the latest ISO C standard we follow is:
`C95` (ISO/IEC 9899:1990/AMD1:1995)
-In addition, the following two `C99` features are explicitly allowed:
+In addition, the following `C99` features are explicitly allowed:
+ – logical lines may contain up to 4095 characters;
– `//` comments, as required by |style-comments|;
– the `_Bool` type.
@@ -348,11 +349,11 @@ platform.
SIZE OF VARIABLES *assumptions-variables*
- char 8-bit signed
+We follow POSIX.1‑2001 (SUSv3) for type sizes, which in practice means:
+
char_u 8-bit unsigned
- int 32- or 64-bit signed (16-bit possible on legacy systems)
- unsigned 32- or 64-bit unsigned
- long at least 32-bit signed (large enough to hold a pointer)
+ int ≥ 32-bit signed
+ unsigned ≥ 32-bit unsigned
==============================================================================
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1ukKpX-002IG1-4H%40256bit.org.