open_toontown_panda3d/panda/src/putil/vector_uchar.h

31 lines
966 B
C++

// Filename: vector_uchar.h
// Created by: drose (10May00)
//
////////////////////////////////////////////////////////////////////
#ifndef VECTOR_UCHAR_H
#define VECTOR_UCHAR_H
#include <pandabase.h>
#include <vector>
////////////////////////////////////////////////////////////////////
// Class : vector_uchar
// Description : A vector of uchars. This class is defined once here,
// and exported to PANDA.DLL; other packages that want
// to use a vector of this type (whether they need to
// export it or not) should include this header file,
// rather than defining the vector again.
////////////////////////////////////////////////////////////////////
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, std::vector<unsigned char>)
typedef vector<unsigned char> vector_uchar;
// Tell GCC that we'll take care of the instantiation explicitly here.
#ifdef __GNUC__
#pragma interface
#endif
#endif