Complete transition to fn. Introduce global/threadlocal

This commit is contained in:
Christoffer Lerno
2021-11-16 17:19:12 +01:00
committed by Christoffer Lerno
parent e2621617f1
commit b52b42d4da
331 changed files with 1279 additions and 1261 deletions

View File

@@ -3,7 +3,7 @@ module bar;
import baz::foo;
import testbaz::zab;
func void test()
fn void test()
{
Foo x;
baz::foo::test();

View File

@@ -7,14 +7,14 @@ struct Foo
int a;
}
extern func void printf(char *hello);
extern fn void printf(char *hello);
private func void ofke()
private fn void ofke()
{}
private func void exple() {}
private fn void exple() {}
func void test()
fn void test()
{
printf("Hello from baz::foo::test()!\n");
}

View File

@@ -1,9 +1,9 @@
module hello_world;
import bar;
extern func void printf(char *hello);
extern fn void printf(char *hello);
func int main(int x)
fn int main(int x)
{
printf("Hello World!\n");
bar::test();