mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
01f6aff422
Global variables (like functions) must be declared in the import "C" preamble and can then be used from Go.
4 lines
63 B
C
4 lines
63 B
C
typedef short myint;
|
|
int add(int a, int b);
|
|
extern int global;
|