OSDN Git Service

replace char* to shared_array in Utils
[tsremuxcpp/developing01.git] / src / tsremuxcpp_define.h
1 #ifndef TSREMUXCPP_DEFINE_H_
2 #define TSREMUXCPP_DEFINE_H_
3
4 #include <time.h>
5 #include <boost/shared_array.hpp>
6 #include <vector>
7
8 #define readonly const
9
10 namespace TsRemux {
11     typedef char byte;
12     typedef unsigned short ushort;
13     typedef unsigned int uint;
14     typedef unsigned int UInt32;
15     typedef signed int Int32;
16     typedef unsigned long long UInt64;
17     typedef signed long long Int64;
18     typedef time_t TimeSpan;
19     typedef boost::shared_array<byte> pByte;
20     typedef std::vector<byte> Bytes;
21     typedef std::vector<byte>::iterator Iter;
22 } // namespace
23 #endif TSREMUXCPP_DEFINE_H_