Compare commits

...

3 Commits

@ -5,6 +5,12 @@ All notable (user-facing) changes to this project will be documented in this fil
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [2.1.4] - 2024-03-27
### Changed
- Removed no longer needed static assert.
## [2.1.3] - 2024-03-04
### Changed

@ -12,7 +12,7 @@ from setuptools import find_packages, setup, Command, Extension, Distribution
from codecs import open
VERSION = (0, 3, 0)
LIBRARY_VERSION = (2, 1, 3)
LIBRARY_VERSION = (2, 1, 4)
DIR_INCLUDE = '../../inc'
here = os.path.abspath(os.path.dirname(__file__))

@ -105,14 +105,4 @@ typedef ND_UINT8 ND_BOOL;
#define ND_FALSE (0)
// Static assertion.
#ifdef _MSC_VER
// When used without include <assert.h>, automatically maps to _Static_assert. Using static_assert is prefered, as
// it works on both C and C++.
#define ND_STATIC_ASSERT static_assert
#else
// Reserved keyword. MSVC only recognizes this if you include <assert.h>.
#define ND_STATIC_ASSERT _Static_assert
#endif
#endif // BDDISASM_TYPES_H

@ -7,7 +7,7 @@
#define DISASM_VERSION_MAJOR 2
#define DISASM_VERSION_MINOR 1
#define DISASM_VERSION_REVISION 3
#define DISASM_VERSION_REVISION 4
#define SHEMU_VERSION_MAJOR DISASM_VERSION_MAJOR
#define SHEMU_VERSION_MINOR DISASM_VERSION_MINOR

@ -61,9 +61,6 @@ typedef struct _SHEMU_X86_GPR_REGS
} SHEMU_X86_GPR_REGS, *PSHEMU_X86_GPR_REGS;
ND_STATIC_ASSERT(ND_MAX_GPR_REGS <= 32, "Too many General Purpose Registers defined in bddisasm! Make sure to update SHEMU_X86_GPR_REGS!");
//
// Segment register (with its hidden part).
//

Loading…
Cancel
Save