open_toontown_panda3d/panda/src/putil/pta_int.h

37 lines
1.2 KiB
C

// Filename: pta_int.h
// Created by: drose (10May00)
//
////////////////////////////////////////////////////////////////////
#ifndef PTA_INT_H
#define PTA_INT_H
#include <pandabase.h>
#include "pointerToArray.h"
#include "vector_int.h"
////////////////////////////////////////////////////////////////////
// Class : PTA_int
// Description : A pta of ints. This class is defined once here,
// and exported to PANDA.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_PANDA, EXPTP_PANDA, RefCountObj<vector_int>);
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, PointerToBase<RefCountObj<vector_int> >);
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, PointerToArray<int>)
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, ConstPointerToArray<int>)
typedef PointerToArray<int> PTA_int;
typedef ConstPointerToArray<int> CPTA_int;
// Tell GCC that we'll take care of the instantiation explicitly here.
#ifdef __GNUC__
#pragma interface
#endif
#endif