Revert "general: Remove vestigial typedef.h file"

This reverts commit e4013226e1.
This commit is contained in:
Open Toontown 2022-01-01 22:34:19 -05:00
parent ab97006ebb
commit 984cf6f838
21 changed files with 55 additions and 2 deletions

View File

@ -22,6 +22,11 @@
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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,29 @@
/**
* 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

View File

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

View File

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

View File

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

View File

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

View File

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