![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cObject.h>
Public Member Functions | |
cObjectSignature (UINT32 nVer, size_t nSizeofThis) | |
~cObjectSignature () | |
bool | IsValidSignature (UINT32 nVer, size_t nSizeofThis) const |
![]() | |
cMemSignature () noexcept | |
~cMemSignature () | |
bool | isValidSignature () const noexcept |
Additional Inherited Members | |
![]() | |
static const UINT32 | k_VALID |
used just to make sure this is valid. FEEDF00D More... | |
static const UINT32 | k_INVALID |
Mark as NOT valid when freed! More... | |
use this to make sure 2 DLL/SO's agree on the format and version of some object.
|
inline |
|
inline |
|
inline |
Call this from the context of some other DLL or lib and make sure they match. If not, then there are un-matching pound defines (conditional code) or different compiler packing params. This is BAD. Make sure this is inline compiled.