Browse Source

general: Remove vestigial typedef.h file

rdb 4 năm trước cách đây
mục cha
commit
e4013226e1

+ 0 - 5
dtool/src/parser-inc/stdtypedefs.h

@@ -22,11 +22,6 @@
 typedef long time_t;
 typedef long clock_t;
 
-typedef unsigned int uint;
-typedef unsigned long ulong;
-typedef unsigned short ushort;
-typedef unsigned char uchar;
-
 #ifdef _WIN64
 #define __SIZE_TYPE__ unsigned long long
 #define __PTRDIFF_TYPE__ long long

+ 0 - 1
panda/src/chan/partGroup.h

@@ -19,7 +19,6 @@
 #include "typedWritableReferenceCount.h"
 #include "pointerTo.h"
 #include "namable.h"
-#include "typedef.h"
 #include "thread.h"
 #include "plist.h"
 #include "luse.h"

+ 0 - 1
panda/src/display/displayInformation.h

@@ -14,7 +14,6 @@
 #ifndef DISPLAYINFORMATION_H
 #define DISPLAYINFORMATION_H
 
-#include "typedef.h"
 #include "graphicsStateGuardian.h"
 
 struct EXPCL_PANDA_DISPLAY DisplayMode {

+ 0 - 1
panda/src/egg/lexerDefs.h

@@ -16,7 +16,6 @@
 
 #include "pandabase.h"
 #include "parserDefs.h"
-#include "typedef.h"
 
 #include <string>
 

+ 1 - 1
panda/src/egg2pg/animBundleMaker.h

@@ -15,7 +15,7 @@
 #define ANIMBUNDLEMAKER_H
 
 #include "pandabase.h"
-#include "typedef.h"
+#include "numeric_types.h"
 
 class EggNode;
 class EggGroupNode;

+ 0 - 1
panda/src/egg2pg/characterMaker.h

@@ -20,7 +20,6 @@
 #include "vertexSlider.h"
 #include "character.h"
 #include "vector_PartGroupStar.h"
-#include "typedef.h"
 #include "pmap.h"
 
 

+ 0 - 1
panda/src/event/eventParameter.h

@@ -16,7 +16,6 @@
 
 #include "pandabase.h"
 
-#include "typedef.h"
 #include "typedObject.h"
 #include "typedWritableReferenceCount.h"
 #include "pointerTo.h"

+ 1 - 1
panda/src/express/CMakeLists.txt

@@ -47,7 +47,7 @@ set(P3EXPRESS_HEADERS
   subfileInfo.h subfileInfo.I
   temporaryFile.h temporaryFile.I
   trueClock.I trueClock.h
-  typedReferenceCount.I typedReferenceCount.h typedef.h
+  typedReferenceCount.I typedReferenceCount.h
   virtualFileList.I virtualFileList.h
   virtualFileComposite.h virtualFileComposite.I
   virtualFile.h virtualFile.I

+ 0 - 1
panda/src/express/buffer.h

@@ -15,7 +15,6 @@
 #define BUFFER_H
 
 #include "pandabase.h"
-#include "typedef.h"
 #include "referenceCount.h"
 
 /**

+ 0 - 1
panda/src/express/error_utils.h

@@ -15,7 +15,6 @@
 #define ERROR_UTILS_H
 
 #include "pandabase.h"
-#include "typedef.h"
 
 BEGIN_PUBLISH
 

+ 0 - 1
panda/src/express/hashVal.h

@@ -15,7 +15,6 @@
 #define HASHVAL_H
 
 #include "pandabase.h"
-#include "typedef.h"
 #include "pnotify.h"
 #include "ramfile.h"
 #include "datagram.h"

+ 0 - 1
panda/src/express/patchfile.h

@@ -18,7 +18,6 @@
 
 #ifdef HAVE_OPENSSL
 
-#include "typedef.h"
 #include "pnotify.h"
 #include "filename.h"
 #include "plist.h"

+ 0 - 1
panda/src/express/pointerToBase.h

@@ -17,7 +17,6 @@
 #include "pandabase.h"
 #include "pointerToVoid.h"
 #include "referenceCount.h"
-#include "typedef.h"
 #include "memoryUsage.h"
 #include "config_express.h"
 

+ 0 - 1
panda/src/express/ramfile.h

@@ -15,7 +15,6 @@
 #define RAMFILE_H
 
 #include "pandabase.h"
-#include "typedef.h"
 #include "referenceCount.h"
 #include "extension.h"
 

+ 0 - 1
panda/src/express/trueClock.h

@@ -15,7 +15,6 @@
 #define TRUECLOCK_H
 
 #include "pandabase.h"
-#include "typedef.h"
 #include "pdeque.h"
 #include "mutexImpl.h"
 #include "config_express.h"

+ 0 - 29
panda/src/express/typedef.h

@@ -1,29 +0,0 @@
-/**
- * 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 typedef.h
- * @author mike
- * @date 1997-01-09
- */
-
-#ifndef TYPEDEF_H
-#define TYPEDEF_H
-
-#include "pandabase.h"
-#include "numeric_types.h"
-
-typedef unsigned char uchar;
-typedef unsigned short ushort;
-typedef unsigned int uint;
-typedef unsigned long ulong;
-
-typedef int64_t longlong;
-typedef uint64_t ulonglong;
-
-
-#endif

+ 0 - 2
panda/src/linmath/coordinateSystem.h

@@ -16,8 +16,6 @@
 
 #include "pandabase.h"
 
-#include "typedef.h"
-
 BEGIN_PUBLISH
 
 enum CoordinateSystem {

+ 0 - 1
panda/src/parametrics/curveFitter.h

@@ -20,7 +20,6 @@
 
 #include "parametricCurveCollection.h"
 
-#include "typedef.h"
 #include "pvector.h"
 
 class HermiteCurve;

+ 0 - 1
panda/src/parametrics/parametricCurve.h

@@ -19,7 +19,6 @@
 #include "pandaNode.h"
 #include "luse.h"
 
-#include "typedef.h"
 #include "plist.h"
 #include "pvector.h"
 

+ 0 - 2
panda/src/putil/colorSpace.h

@@ -16,8 +16,6 @@
 
 #include "pandabase.h"
 
-#include "typedef.h"
-
 BEGIN_PUBLISH
 
 enum ColorSpace {

+ 0 - 1
panda/src/putil/paramValue.h

@@ -16,7 +16,6 @@
 
 #include "pandabase.h"
 
-#include "typedef.h"
 #include "typedObject.h"
 #include "typedWritableReferenceCount.h"
 #include "pointerTo.h"