nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: use en_US.UTF-8 locale on macOS
[nit.git]
/
tests
/
test_ffi_c_new.nit
diff --git
a/tests/test_ffi_c_new.nit
b/tests/test_ffi_c_new.nit
index
d18d931
..
7e826eb
100644
(file)
--- a/
tests/test_ffi_c_new.nit
+++ b/
tests/test_ffi_c_new.nit
@@
-18,7
+18,7
@@
int dv = 1234;
`}
-extern A `{int *`}
+extern class A `{int *`}
super Pointer
new import p `{
@@
-32,7
+32,7
@@
extern A `{int *`}
fun a do print "a"
fun p `{
- printf( "allo from %i\n", *recv );
+ printf( "allo from %i\n", *self );
`}
fun d : A import d, A `{
return new_A();