We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 790f360 commit 81ea2cfCopy full SHA for 81ea2cf
src/libquickjs.c
@@ -1,5 +1,4 @@
1
#include <R_ext/Error.h>
2
-#include <stdio.h>
3
#include <R_ext/Print.h>
4
5
void Rf_abort() {
@@ -14,7 +13,7 @@ void Rf_exit(int code) {
14
13
#define exit Rf_exit
15
#define _exit Rf_exit
16
#define fprintf(file, ...) Rprintf(__VA_ARGS__)
17
-#define putchar Rprintf
+#define putchar(c) Rprintf("%s", c)
18
#define stderr NULL
19
#define stdout NULL
20
0 commit comments