#include <UNS/UNS.h> using namespace Upp; #define LLOG(x) LOG(x) int main(int argc, const char *argv[]) { StdLogSetup(LOG_CERR); UppCocAutoReleasePool pool; LLOG("starting main"); // UppCocApplication app; CocWnd w; Rect r = RectC(0,0,300,300); CocWnd::CreateApp(); w.CreateWnd(r); CocWnd::RunApp(); LLOG("after cocoa run"); return 0; }
COCOA USEMALLOC
[Updated on: Thu, 15 March 2012 06:07]
Report message to a moderator