Commit 637357c
wasm scan: keep page_count/finish exported after the add_page split
Splitting add_page into a #[wasm_bindgen] wrapper pair plus a plain
add_page_impl left page_count and finish inside the non-wasm_bindgen impl
block, so they stopped being exported to JS ("cur.conv.finish is not a
function"). Close the plain impl right after add_page_impl and put
page_count/finish back in a #[wasm_bindgen] impl block.
Refs #157
Signed-off-by: artiz <artem.kustikov@gmail.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EY5KAiquN4YpVf2PXEQkVT1 parent 4d2199f commit 637357c
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
| 215 | + | |
| 216 | + | |
214 | 217 | | |
215 | 218 | | |
216 | 219 | | |
| |||
0 commit comments