Sha256: b038bfb2b97cbd2d6c3b0347c7a3387c236e2a3ca4dd8ea33e54fbdb5dce8e20
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
#import <UIKit/UIKit.h> extern "C" { void rb_define_global_const(const char *, void *); void rb_rb2oc_exc_handler(void); void rb_exit(int); void RubyMotionInit(int argc, char **argv); } int main(int argc, char **argv) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; int retval = 0; try { RubyMotionInit(argc, argv); rb_define_global_const("RUBYMOTION_ENV", @"development"); rb_define_global_const("RUBYMOTION_VERSION", @"1.29"); retval = UIApplicationMain(argc, argv, nil, @"AppDelegate"); rb_exit(retval); } catch (...) { rb_rb2oc_exc_handler(); } [pool release]; return retval; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iron-motion-0.0.1 | build/iPhoneSimulator-5.1-Development/objs/main.mm |