Commit 7493164
authored
[Web] Fix incorrect FFI export name in runtime.ts (#18686)
## Why
The code was using the TypeScript type name
`FTVMFFIErrorSetRaisedFromCStr` instead of the actual C function export
name `TVMFFIErrorSetRaisedFromCStr`. The F prefix is a naming convention
for TypeScript function types, not the actual export names, which would
make RPC run into error in my local test.
## How
`lib.exports.FTVMFFIErrorSetRaisedFromCStr` -->
`lib.exports.TVMFFIErrorSetRaisedFromCStr` to match the C function name
defined in ctypes.ts.1 parent 78b5ed0 commit 7493164
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2146 | 2146 | | |
2147 | 2147 | | |
2148 | 2148 | | |
2149 | | - | |
| 2149 | + | |
2150 | 2150 | | |
2151 | 2151 | | |
2152 | 2152 | | |
| |||
0 commit comments