Commits

Jeff Sickel  committed 759c433

update to new objc2

  • Participants
  • Parent commits bdb040b

Comments (0)

Files changed (2)

File gui-ios/dtmain.c

 	
 	if(bind("#c", "/dev", MBEFORE) < 0)
 		panic("bind #c: %r");
-	
 	if(bind("#m", "/dev", MBEFORE) < 0)
 		panic("bind #m: %r");
-	// the draw device is not read yet: screeninit!
-	
 	if(bind("#i", "/dev", MBEFORE) < 0)
 		panic("bind #i: %r");
-	
-	
 	if(bind("#I", "/net", MBEFORE) < 0)
 		panic("bind #I: %r");
-	
 	if(bind("#U", "/", MAFTER) < 0)
 		panic("bind #U: %r");
+
 	bind("#A", "/dev", MAFTER);
-
-	
 	bind("#z", "/dev", MBEFORE);
-	
-	//printf("%s\n", eve);
-	
+		
 	if(open("/dev/cons", OREAD) != 0)
 		panic("open0: %r");
 	if(open("/dev/cons", OWRITE) != 1)

File gui-ios/main.m

     [pool drain];
 
     return retVal;
+/*
+    @autoreleasepool {
+        return UIApplicationMain(argc, argv, nil, NSStringFromClass([DTAppDelegate class]));
+    }
+*/
 }