From 36f686396990c5d21d259f7940b6e85c81934dc7 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Mon, 23 Nov 2015 18:47:18 -0500 Subject: doc/develop.txt: Remove "design-assumptions" section We don't make such assumptions; new code should use fixed-width integer types [1]. [1]: https://neovim.io/develop/style-guide.xml?showone=Integer_Types#Integer_Types --- runtime/doc/develop.txt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt index d0dd741888..7e71541e45 100644 --- a/runtime/doc/develop.txt +++ b/runtime/doc/develop.txt @@ -12,7 +12,6 @@ Vim. 1. Design goals |design-goals| 2. Coding style |coding-style| 3. Design decisions |design-decisions| -4. Assumptions |design-assumptions| See the file README.txt in the "src" directory for an overview of the source code. @@ -479,17 +478,4 @@ 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. -============================================================================== -4. Assumptions *design-assumptions* - -Size of variables: -char 8 bit signed -char_u 8 bit unsigned -int 32 or 64 bit signed (16 might be possible with limited features) -unsigned 32 or 64 bit unsigned (16 as with ints) -long 32 or 64 bit signed, can hold a pointer - -Note that some compilers cannot handle long lines or strings. The C89 -standard specifies a limit of 509 characters. - vim:tw=78:ts=8:ft=help:norl: -- cgit