diff options
Diffstat (limited to 'enginedata.h')
-rw-r--r-- | enginedata.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/enginedata.h b/enginedata.h index 2b7ca96..071dd93 100644 --- a/enginedata.h +++ b/enginedata.h @@ -12,9 +12,12 @@ struct ColHeader; struct Table; struct RowItem{ - int32_t rh_int32; - uint32_t rh_uint32; - unsigned char *rh_bytes; + union{ + int32_t rh_int32; + uint32_t rh_uint32; + unsigned char *rh_bytes; + } v; + RowItem copy(const ColHeader&); }; enum ColHeaderType{ |