src/misc/blob.hpp
changeset 7751 99bcdf28a226
parent 7611 222dfb0b8df8
child 6872 1c4a4a609f85
child 8533 a9b708fe4a00
equal deleted inserted replaced
7750:0faa5536deb0 7751:99bcdf28a226
    57 	};
    57 	};
    58 
    58 
    59 	/** type used as class member */
    59 	/** type used as class member */
    60 	union {
    60 	union {
    61 		bitem_t    *m_pData;    ///< ptr to the first byte of data
    61 		bitem_t    *m_pData;    ///< ptr to the first byte of data
       
    62 #if defined(HAS_WCHAR)
    62 		wchar_t    *m_pwData;   ///< ptr to the first byte of data
    63 		wchar_t    *m_pwData;   ///< ptr to the first byte of data
       
    64 #endif /* HAS_WCHAR */
    63 		CHdr       *m_pHdr_1;   ///< ptr just after the CHdr holding m_size and m_max_size
    65 		CHdr       *m_pHdr_1;   ///< ptr just after the CHdr holding m_size and m_max_size
    64 	} ptr_u;
    66 	} ptr_u;
    65 
    67 
    66 public:
    68 public:
    67 	static const bsize_t Ttail_reserve = 4; ///< four extra bytes will be always allocated and zeroed at the end
    69 	static const bsize_t Ttail_reserve = 4; ///< four extra bytes will be always allocated and zeroed at the end