mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00

The GCC documentation states that, as of GCC 2.7.2, these aren't necessary for proper program behavior. The documentation further discourages their use because they don't suppress unnecessary code duplication. The Panda codebase these days uses "extern template class" instead, which tells the compiler not to perform implicit template expansion because an explicit template expansion is available for linking elsewhere in the program. This is a more compiler-neutral way of achieving the same thing as '#pragma interface', making '#pragma interface' not only redundant, it could also mask problems in the "extern template class" machinery.
34 lines
829 B
C
34 lines
829 B
C
/**
|
|
* 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."
|
|
*
|
|
* @file vector_double.h
|
|
* @author drose
|
|
* @date 2000-05-10
|
|
*/
|
|
|
|
#ifndef VECTOR_DOUBLE_H
|
|
#define VECTOR_DOUBLE_H
|
|
|
|
#include "dtoolbase.h"
|
|
|
|
/**
|
|
* A vector of doubles. This class is defined once here, and exported to
|
|
* DTOOL.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.
|
|
*/
|
|
|
|
#define EXPCL EXPCL_DTOOL
|
|
#define EXPTP EXPTP_DTOOL
|
|
#define TYPE double
|
|
#define NAME vector_double
|
|
|
|
#include "vector_src.h"
|
|
|
|
#endif
|