Mercurial > vim
annotate src/workshop.h @ 13431:19f9b74a424e v8.0.1590
patch 8.0.1590: padding in list type wastes memory
commit https://github.com/vim/vim/commit/1a840240376f2858d489736f9eed6d2975225fdf
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 8 21:46:43 2018 +0100
patch 8.0.1590: padding in list type wastes memory
Problem: Padding in list type wastes memory.
Solution: Reorder struct members to optimize padding. (Dominique Pelle,
closes #2704)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 08 Mar 2018 22:00:05 +0100 |
parents | 4aead6a9b7a9 |
children |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * Visual Workshop integration by Gordon Prieur | |
5 * | |
6 * Do ":help uganda" in Vim to read copying and usage conditions. | |
7 * Do ":help credits" in Vim to see a list of people who contributed. | |
8 */ | |
9 | |
10 #if !defined(WORKSHOP_H) && defined(FEAT_SUN_WORKSHOP) | |
11 #define WORKSHOP_H | |
12 | |
13 #include <X11/Intrinsic.h> | |
14 #include <Xm/Xm.h> | |
15 | |
16 #include "integration.h" | |
17 | |
18 #ifdef WSDEBUG | |
19 # include "wsdebug.h" | |
20 #else | |
21 # ifndef ASSERT | |
22 # define ASSERT(c) | |
23 # endif | |
24 #endif | |
25 | |
26 extern int usingSunWorkShop; /* set if -ws flag is used */ | |
27 | |
28 #endif |