#include <stdio.h>
`}
-extern Test
+extern class Test
new create_me is extern `{
int* foobar = malloc(sizeof(int));
*foobar = 12345;
return foobar;
`}
- fun test_me is extern import Test::foo, String::from_cstring `{
+ fun test_me is extern import Test.foo, NativeString.to_s `{
int i;
for(i = 0; i < 2000; ++i) {
printf("%d\n", i);
- Test_foo(recv, new_String_from_cstring("asdf"));
+ Test_foo(recv, NativeString_to_s("asdf"));
}
`}