Bug fixed for stdin and stdout in a different platform.
[Faustine.git] / interpreter / preprocessor / faust-0.9.47mr3 / architecture / iPhone / main.m
1 /************************************************************************
2 ************************************************************************
3 FAUST Architecture File
4 Copyright (C) 2003-2011 GRAME, Centre National de Creation Musicale
5 ---------------------------------------------------------------------
6
7 This is sample code. This file is provided as an example of minimal
8 FAUST architecture file. Redistribution and use in source and binary
9 forms, with or without modification, in part or in full are permitted.
10 In particular you can create a derived work of this FAUST architecture
11 and distribute that work under terms of your choice.
12
13 This sample code is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 ************************************************************************
17 ************************************************************************/
18
19 #import <UIKit/UIKit.h>
20
21 int main(int argc, char *argv[]) {
22 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
23 int retVal = UIApplicationMain(argc, argv, nil, nil);
24 [pool release];
25 return retVal;
26 }