diff --git a/nac3standalone/demo/classes.py b/nac3standalone/demo/classes.py index 14df8f2f..f3cf9517 100644 --- a/nac3standalone/demo/classes.py +++ b/nac3standalone/demo/classes.py @@ -1,9 +1,9 @@ @extern -def output_int(x: int32): +def output_int32(x: int32): ... @extern -def output_long(x: int64): +def output_int64(x: int64): ... @@ -31,10 +31,10 @@ class B: def run() -> int32: a = A(10) - output_int(a.a) + output_int32(a.a) a = A(20) - output_int(a.a) - output_int(a.get_a()) - output_int(a.get_b().b) + output_int32(a.a) + output_int32(a.get_a()) + output_int32(a.get_b().b) return 0 diff --git a/nac3standalone/demo/demo.c b/nac3standalone/demo/demo.c index 90e4c05b..ad19ee1e 100644 --- a/nac3standalone/demo/demo.c +++ b/nac3standalone/demo/demo.c @@ -1,11 +1,11 @@ #include #include -void output_int(int x) { +void output_int32(int x) { printf("%d\n", x); } -void output_long(long x) { +void output_int64(long x) { printf("%ld\n", x); }