Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / test_ffi_c_more_callbacks.nit
index 6be81fe..9c1e991 100644 (file)
@@ -22,7 +22,7 @@ module test_ffi_c_more_callbacks
 `}
 
 class A
-       var a: Int
+       var a: Int is noautoinit
        init do a = 1234
        init alt(i: Int) do a = i
        fun to_i: Int do return a
@@ -33,7 +33,7 @@ fun in2(i: Float) do print "Back in Nit: in2"
 
 fun out(i: Int, f: Float): Int import in1, in2, A, A.alt, A.to_i `{
        printf("From C, beginning out: %ld\n", i);
-       Object_in1(recv, i);
+       Sys_in1(self, i);
        A a = new_A();
        A b = new_A_alt(10);
        printf("From C, a=%ld\n", A_to_i(a));