mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 05:31:32 +00:00
Move the linkage before the type.
Though both orders work, this is customary.
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
bool static host_print_called = false;
|
static bool host_print_called = false;
|
||||||
|
|
||||||
// Host function that will be imported into the Web Assembly Instance
|
// Host function that will be imported into the Web Assembly Instance
|
||||||
void host_print(const wasmer_instance_context_t *ctx, int32_t ptr, int32_t len)
|
void host_print(const wasmer_instance_context_t *ctx, int32_t ptr, int32_t len)
|
||||||
|
Reference in New Issue
Block a user