mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-18 08:31:03 +00:00
- fixed compilation of targets with optimization
This commit is contained in:
parent
cf590d73e4
commit
39a3527396
2 changed files with 4 additions and 2 deletions
|
@ -48,8 +48,6 @@
|
||||||
#include "w_wad.h"
|
#include "w_wad.h"
|
||||||
#include "doomstat.h"
|
#include "doomstat.h"
|
||||||
|
|
||||||
inline PClass *PObjectPointer::PointedClass() const { return static_cast<PClassType*>(PointedType)->Descriptor; }
|
|
||||||
|
|
||||||
extern FRandom pr_exrandom;
|
extern FRandom pr_exrandom;
|
||||||
FMemArena FxAlloc(65536);
|
FMemArena FxAlloc(65536);
|
||||||
int utf8_decode(const char *src, int *size);
|
int utf8_decode(const char *src, int *size);
|
||||||
|
|
|
@ -575,6 +575,10 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
inline PClass *PObjectPointer::PointedClass() const
|
||||||
|
{
|
||||||
|
return static_cast<PClassType*>(PointedType)->Descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
// Returns a type from the TypeTable. Will create one if it isn't present.
|
// Returns a type from the TypeTable. Will create one if it isn't present.
|
||||||
PMap *NewMap(PType *keytype, PType *valuetype);
|
PMap *NewMap(PType *keytype, PType *valuetype);
|
||||||
|
|
Loading…
Reference in a new issue