mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 13:03:39 +00:00
cgo: do not rely on stdint.h to be available
This commit is contained in:
Vendored
+1
-7
@@ -1,13 +1,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
int32_t fortytwo() {
|
||||
int fortytwo() {
|
||||
return 42;
|
||||
}
|
||||
|
||||
int add(int a, int b) {
|
||||
return a + b;
|
||||
}
|
||||
|
||||
int32_t mul(int32_t a, int32_t b) {
|
||||
return a * b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user