forked from M-Labs/nac3
nac3standalone: add output_long
This commit is contained in:
parent
b5637a04e9
commit
ccfcba4066
@ -2,6 +2,10 @@
|
||||
def output_int(x: int32):
|
||||
...
|
||||
|
||||
@extern
|
||||
def output_long(x: int64):
|
||||
...
|
||||
|
||||
|
||||
class A:
|
||||
a: int32
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user