nac3standalone: add output_long

This commit is contained in:
ychenfo 2021-12-13 04:06:38 +08:00
parent a3f7d404fb
commit 1541188722
2 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,10 @@
def output_int(x: int32):
...
@extern
def output_long(x: int64):
...
class A:
a: int32

View File

@ -5,6 +5,10 @@ void output_int(int x) {
printf("%d\n", x);
}
void output_long(long x) {
printf("%ld\n", x);
}
void output_asciiart(int x) {
static char chars[] = " .,-:;i+hHM$*#@ ";
if(x < 0) {