diff --git a/nac3standalone/demo/classes.py b/nac3standalone/demo/classes.py index 14df8f2ff..f3cf95177 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 90e4c05b9..ad19ee1eb 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); }