46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
// Filename: pta_uchar.h
|
|
// Created by: drose (10May00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) Carnegie Mellon University. All rights reserved.
|
|
//
|
|
// All use of this software is subject to the terms of the revised BSD
|
|
// license. You should have received a copy of this license along
|
|
// with this source code in a file named "LICENSE."
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef PTA_UCHAR_H
|
|
#define PTA_UCHAR_H
|
|
|
|
#include "pandabase.h"
|
|
|
|
#include "pointerToArray.h"
|
|
#include "vector_uchar.h"
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Class : PTA_uchar
|
|
// Description : A pta of uchars. This class is defined once here,
|
|
// and exported to PANDAEXPRESS.DLL; other packages that
|
|
// want to use a pta of this type (whether they need to
|
|
// export it or not) should include this header file,
|
|
// rather than defining the pta again.
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, RefCountObj<vector_uchar>);
|
|
EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToBase<RefCountObj<vector_uchar> >);
|
|
EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArray<unsigned char>)
|
|
EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, ConstPointerToArray<unsigned char>)
|
|
|
|
typedef PointerToArray<unsigned char> PTA_uchar;
|
|
typedef ConstPointerToArray<unsigned char> CPTA_uchar;
|
|
|
|
// Tell GCC that we'll take care of the instantiation explicitly here.
|
|
#ifdef __GNUC__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#endif
|