Mercurial > vim
view src/VisVim/VisVim.odl @ 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 | 3fc0f57ecb91 |
children |
line wrap: on
line source
// VisVim.odl : type library source for VisVim.dll // This file will be processed by the Make Type Library (mktyplib) tool to // produce the type library (VisVim.tlb). [ uuid(AC726707-2977-11D1-B2F3-006008040780), version(1.0), helpstring ("VisVim Developer Studio Add-in") ] library VisVim { importlib("stdole32.tlb"); importlib("devshl.dll"); importlib("ide\devdbg.pkg"); // Dual interface for CCommands // // All commands that your add-in adds to DevStudio // must appear in this interface. You may use the // ClassView to add methods to this interface, which // will cause stub implementations of those methods to // appear in your CCommands class. [ uuid(AC726703-2977-11D1-B2F3-006008040780), oleautomation, dual ] interface ICommands : IDispatch { // methods [id(1)] HRESULT VisVimDialog(); HRESULT VisVimEnable(); HRESULT VisVimDisable(); HRESULT VisVimToggle(); HRESULT VisVimLoad(); }; // Class information for CCommands [ uuid(AC726704-2977-11D1-B2F3-006008040780) ] coclass Commands { [default] interface ICommands; }; [ hidden, uuid(AC726705-2977-11D1-B2F3-006008040780) ] coclass ApplicationEvents { [default] interface IApplicationEvents; } [ hidden, uuid(AC726706-2977-11D1-B2F3-006008040780) ] coclass DebuggerEvents { [default] interface IDebuggerEvents; } //{{AFX_APPEND_ODL}} //}}AFX_APPEND_ODL}} };