mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
fix missing includes
This commit is contained in:
parent
ef84c5918c
commit
925a3d0978
@ -27,6 +27,7 @@
|
|||||||
dcParameter.h dcClassParameter.h dcArrayParameter.h dcSimpleParameter.h \
|
dcParameter.h dcClassParameter.h dcArrayParameter.h dcSimpleParameter.h \
|
||||||
dcNumericRange.h dcNumericRange.I \
|
dcNumericRange.h dcNumericRange.I \
|
||||||
dcTypedef.h \
|
dcTypedef.h \
|
||||||
|
dcPython.h \
|
||||||
dcbase.h dcindent.h hashGenerator.h \
|
dcbase.h dcindent.h hashGenerator.h \
|
||||||
primeNumberGenerator.h
|
primeNumberGenerator.h
|
||||||
|
|
||||||
@ -45,5 +46,8 @@
|
|||||||
dcindent.cxx \
|
dcindent.cxx \
|
||||||
hashGenerator.cxx primeNumberGenerator.cxx
|
hashGenerator.cxx primeNumberGenerator.cxx
|
||||||
|
|
||||||
|
// #define SOURCES $[SOURCES] $[INCLUDED_SOURCES]
|
||||||
|
// #define COMBINED_SOURCES
|
||||||
|
|
||||||
#define IGATESCAN all
|
#define IGATESCAN all
|
||||||
#end lib_target
|
#end lib_target
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "dcClass.h"
|
#include "dcClass.h"
|
||||||
|
#include "dcAtomicField.h"
|
||||||
#include "dcParameter.h"
|
#include "dcParameter.h"
|
||||||
#include "hashGenerator.h"
|
#include "hashGenerator.h"
|
||||||
#include "dcindent.h"
|
#include "dcindent.h"
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "dcbase.h"
|
#include "dcbase.h"
|
||||||
#include "dcField.h"
|
#include "dcField.h"
|
||||||
#include "dcDeclaration.h"
|
#include "dcDeclaration.h"
|
||||||
|
#include "dcPython.h"
|
||||||
|
|
||||||
class HashGenerator;
|
class HashGenerator;
|
||||||
class DCParameter;
|
class DCParameter;
|
||||||
|
@ -21,17 +21,7 @@
|
|||||||
|
|
||||||
#include "dcbase.h"
|
#include "dcbase.h"
|
||||||
#include "dcPackerInterface.h"
|
#include "dcPackerInterface.h"
|
||||||
|
#include "dcPython.h"
|
||||||
#ifdef HAVE_PYTHON
|
|
||||||
|
|
||||||
#undef HAVE_LONG_LONG // NSPR and Python both define this.
|
|
||||||
#include <Python.h>
|
|
||||||
|
|
||||||
// We only need these headers if we are also building a Python interface.
|
|
||||||
#include "datagram.h"
|
|
||||||
#include "datagramIterator.h"
|
|
||||||
|
|
||||||
#endif // HAVE_PYTHON
|
|
||||||
|
|
||||||
class DCAtomicField;
|
class DCAtomicField;
|
||||||
class DCMolecularField;
|
class DCMolecularField;
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "dcField.h"
|
#include "dcField.h"
|
||||||
|
|
||||||
class DCAtomicField;
|
class DCAtomicField;
|
||||||
|
class DCParameter;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Class : DCMolecularField
|
// Class : DCMolecularField
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "dcSubatomicType.h"
|
#include "dcSubatomicType.h"
|
||||||
#include "dcPackData.h"
|
#include "dcPackData.h"
|
||||||
#include "dcPackerCatalog.h"
|
#include "dcPackerCatalog.h"
|
||||||
|
#include "dcPython.h"
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Class : DCPacker
|
// Class : DCPacker
|
||||||
|
37
direct/src/dcparser/dcPython.h
Executable file
37
direct/src/dcparser/dcPython.h
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
// Filename: dcPython.h
|
||||||
|
// Created by: drose (22Jun04)
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// PANDA 3D SOFTWARE
|
||||||
|
// Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved
|
||||||
|
//
|
||||||
|
// All use of this software is subject to the terms of the Panda 3d
|
||||||
|
// Software license. You should have received a copy of this license
|
||||||
|
// along with this source code; you will also find a current copy of
|
||||||
|
// the license at http://etc.cmu.edu/panda3d/docs/license/ .
|
||||||
|
//
|
||||||
|
// To contact the maintainers of this program write to
|
||||||
|
// panda3d-general@lists.sourceforge.net .
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifndef DCPYTHON_H
|
||||||
|
#define DCPYTHON_H
|
||||||
|
|
||||||
|
// The only purpose of this file is to serve as a common place to put
|
||||||
|
// the nonsense associated with #including <Python.h>.
|
||||||
|
|
||||||
|
#ifdef HAVE_PYTHON
|
||||||
|
|
||||||
|
#undef HAVE_LONG_LONG // NSPR and Python both define this.
|
||||||
|
#include <Python.h>
|
||||||
|
|
||||||
|
// Several interfaces in this module that use Python also require
|
||||||
|
// these header files, so we might as well pick them up too.
|
||||||
|
#include "datagram.h"
|
||||||
|
#include "datagramIterator.h"
|
||||||
|
|
||||||
|
#endif // HAVE_PYTHON
|
||||||
|
|
||||||
|
#endif
|
@ -16,9 +16,9 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#include "dcTypedef.h"
|
||||||
#include "dcParameter.h"
|
#include "dcParameter.h"
|
||||||
#include "hashGenerator.h"
|
#include "dcSimpleParameter.h"
|
||||||
#include "dcParameter.h"
|
|
||||||
#include "dcindent.h"
|
#include "dcindent.h"
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user