Merge pull request #913 from wasmerio/nlewycky-patch-2

Move the linkage before the type.
This commit is contained in:
Mark McCaskey 2019-10-29 15:34:33 -07:00 committed by GitHub
commit 6d6b8779d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)