Merge commit 'lewurm/master' into local
authorSnafu <stuff@c-gabriel.at>
Sun, 9 May 2010 21:43:47 +0000 (23:43 +0200)
committerSnafu <stuff@c-gabriel.at>
Sun, 9 May 2010 21:43:47 +0000 (23:43 +0200)
codea/lewurm_11.0
codea/lewurm_11.call

index f92dba82e7dc88c1d43a985319042940bc852f33..6cca5234da27d91be4c5d10f0bf66515e142ea08 100644 (file)
@@ -1,5 +1,5 @@
 struct a b c end;
-method w()
+method wfoo()
        /* passt die addresse jedes mal? */
-       return 0x600b10.c;
+       return 0x600ac0.c;
 end;
index e3d8383bd6043896be3215b07863a40c121357e4..08c981d46924916a9c37c97a42b694827fb3c42d 100644 (file)
@@ -1,4 +1,6 @@
-long w(long);
-static long s[] = {5,1,1337};
-printf("addr of s: %0p\n", s);
-RET(w(0xcafebabe) == 1337);
+long wfoo(long);
+static long s[3];
+s[0] = 5;
+s[1] = 1;
+s[2] = 1337;
+RET(wfoo(0xcafebabe) == 1337);