hostile-takeover/game/iphone/main.cpp
2014-07-06 17:47:28 -07:00

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);
}