Skip to content

Commit

Permalink
Update null0_api_wamr.h
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumer authored Oct 18, 2024
1 parent ee9e70e commit 8424a38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions null0_api/src/null0_api_wamr.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ void params_from_sfx_to_wasm(SfxParams* s, SfxParams* sOut) {
}

// Read a file from cart (or local persistant)
// currently having issues in AS, so maybe try https://github.com/bytecodealliance/wasm-micro-runtime/issues/2751
static void wamr_null0_file_read(wasm_exec_env_t exec_env, char* filename, uint32_t* bytesRead, char* retBytes) {
char* bytesHost = null0_file_read(filename, bytesRead);
memcpy(retBytes, bytesHost, *bytesRead);
Expand Down

0 comments on commit 8424a38

Please sign in to comment.