diff options
author | Alexander Bolodurin <alexander.bolodurin@gmail.com> | 2014-03-03 20:37:53 +1100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-03 09:50:41 -0300 |
commit | a21c8589efeb008679441ea8d153386ae95c1bec (patch) | |
tree | 12c36cc0629394257e44f4a8cf4227bc7e7faad9 /src/structs.h | |
parent | d8b37824b5f3ea3d024911419559f4dfc7e8e40b (diff) | |
download | rneovim-a21c8589efeb008679441ea8d153386ae95c1bec.tar.gz rneovim-a21c8589efeb008679441ea8d153386ae95c1bec.tar.bz2 rneovim-a21c8589efeb008679441ea8d153386ae95c1bec.zip |
Remove traces of old custom undo memory manager.
There were two memory management implementations,
standard malloc-based, and a custom allocator.
Removed in rev 2230 in the Mercurial repo.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/structs.h b/src/structs.h index 639d50f674..3c0232e4f3 100644 --- a/src/structs.h +++ b/src/structs.h @@ -292,32 +292,6 @@ struct u_header { #define UH_EMPTYBUF 0x02 /* buffer was empty */ /* - * structures used in undo.c - */ -#if SIZEOF_INT > 2 -# define ALIGN_LONG /* longword alignment and use filler byte */ -# define ALIGN_SIZE (sizeof(long)) -#else -# define ALIGN_SIZE (sizeof(short)) -#endif - -#define ALIGN_MASK (ALIGN_SIZE - 1) - -typedef struct m_info minfo_T; - -/* - * structure used to link chunks in one of the free chunk lists. - */ -struct m_info { -#ifdef ALIGN_LONG - long_u m_size; /* size of the chunk (including m_info) */ -#else - short_u m_size; /* size of the chunk (including m_info) */ -#endif - minfo_T *m_next; /* pointer to next free chunk in the list */ -}; - -/* * things used in memfile.c */ |