src/misc/blob.hpp
branchNewGRF_ports
changeset 6725 23339968083f
parent 6720 35756db7e577
child 6872 1c4a4a609f85
child 8533 a9b708fe4a00
equal deleted inserted replaced
6724:cfa62b4744d4 6725:23339968083f
    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