mirror of
https://github.com/vim/vim.git
synced 2025-10-21 08:24:06 -04:00
runtime(doc): update develop assumptions
closes: #17892 Signed-off-by: Damien Lejay <damien@lejay.be> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
04c9e78cd3
commit
46ec899026
@@ -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
|
||||
|
||||
|
||||
==============================================================================
|
||||
|
Reference in New Issue
Block a user