Created
March 5, 2019 04:33
-
-
Save bjfish/1d79f2164f1e0e5469baa818ec042669 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void print_wasmer_error() | |
{ | |
int error_len = wasmer_last_error_length(); | |
printf("Error len: `%d`\n", error_len); | |
char *error_str = malloc(error_len); | |
wasmer_last_error_message(error_str, error_len); | |
printf("Error str: `%s`\n", error_str); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment