Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > DKU > DKU__Test_App
diff main.c @ 2:d561f123f9a6
working version
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Sat, 29 Mar 2014 06:10:50 -0700 |
| parents | c6fc793f68a5 |
| children |
line diff
1.1 --- a/main.c Tue Sep 24 08:42:31 2013 -0700 1.2 +++ b/main.c Sat Mar 29 06:10:50 2014 -0700 1.3 @@ -13,6 +13,8 @@ 1.4 1.5 #define NO_INPUT_OR_OUTPUT NULL 1.6 1.7 + 1.8 + 1.9 /*This demonstrates the use of the proto-runtime system. It allows multiple 1.10 * languages to be mixed within a single sub-program. It also allows multiple 1.11 * sub-programs to be started, where each uses its own set of languages. The 1.12 @@ -22,8 +24,8 @@ 1.13 int main( int argc, char **argv ) 1.14 { PRProcess *testProcess1, *testProcess2; 1.15 1.16 - DEBUG__printf2(TRUE, "arguments: %s | %s", argv[0], argv[1] ); 1.17 - 1.18 + DEBUG__printf(TRUE, "arguments: %s | %s", argv[0], argv[1] ); 1.19 + 1.20 //A proto-runtime based language sits on top of the proto-runtime. So, 1.21 // first start the proto-runtime system, then create processes (which 1.22 // start languages inside themselves)
