Skip to content
Browse files

use Valgrind debugging. tmurakam++

  • Loading branch information...
1 parent 157b8ee commit a6c3f17ff9860d9469865e21ec77815b7ce29b53 laiso committed Aug 27, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 main.m
View
6 main.m
@@ -6,6 +6,9 @@
// Copyright __MyCompanyName__ 2008. All rights reserved.
//
+
+// Valgrind を使って iPhone アプリのメモリデバッグをする - 某開発者の雑記帳
+// http://d.hatena.ne.jp/tmurakam/20090123/1232680212
#import <UIKit/UIKit.h>
#import <unistd.h>
@@ -14,7 +17,6 @@
#endif
#define VALGRIND_PATH "/usr/local/bin/valgrind"
-
int main(int argc, char *argv[])
{
#if ENABLE_VALGRIND
@@ -36,7 +38,7 @@ int main(int argc, char *argv[])
}
-
+// xcode original template
/*
#import <UIKit/UIKit.h>

0 comments on commit a6c3f17

Please sign in to comment.
Something went wrong with that request. Please try again.