mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-02-17 10:33:03 -07:00
41 lines
554 B
C++
41 lines
554 B
C++
#include "game/ht.h"
|
|
#include "base/messagequeue.h"
|
|
|
|
// C++ support
|
|
|
|
#if 0
|
|
void *operator new(size_t cb)
|
|
{
|
|
void *pv = malloc(cb);
|
|
return pv;
|
|
}
|
|
|
|
void operator delete(void *pv)
|
|
{
|
|
if (pv != 0)
|
|
free(pv);
|
|
}
|
|
|
|
void *operator new[](size_t cb)
|
|
{
|
|
void *pv = malloc(cb);
|
|
return pv;
|
|
}
|
|
|
|
void operator delete[](void *pv)
|
|
{
|
|
if (pv != 0)
|
|
free(pv);
|
|
}
|
|
|
|
extern "C" void __cxa_pure_virtual(void)
|
|
{
|
|
IPhone::Log("pure virtual method called\n");
|
|
}
|
|
#endif
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
return wi::IPhone::main(argc, argv);
|
|
}
|