Added basic implementation for PField.

- I don't know why this didn't give me trouble before, but I needed to add IMPLEMENT_CLASS for PField.
This commit is contained in:
Randy Heit 2013-08-10 20:17:29 -05:00
parent 3e46e6376c
commit 6575499f37
2 changed files with 17 additions and 0 deletions

View file

@ -987,6 +987,21 @@ PStruct *NewStruct(FName name, DObject *outer)
return static_cast<PStruct *>(stype); return static_cast<PStruct *>(stype);
} }
/* PField *****************************************************************/
IMPLEMENT_CLASS(PField)
//==========================================================================
//
// PField - Default Constructor
//
//==========================================================================
PField::PField()
: PSymbol(NAME_None)
{
}
/* PPrototype *************************************************************/ /* PPrototype *************************************************************/
IMPLEMENT_CLASS(PPrototype) IMPLEMENT_CLASS(PPrototype)

View file

@ -329,6 +329,8 @@ public:
unsigned int FieldOffset; unsigned int FieldOffset;
PType *FieldType; PType *FieldType;
protected:
PField();
}; };
// Compound types ----------------------------------------------------------- // Compound types -----------------------------------------------------------