// The downlevel-capable entry point: the same ABI exports as engine/main-erase.zena, compiled // while engine/hooks.zena is the engine/hooks-downlevel.zena copy, so build/downlevel.wasm // carries engine/downlevel.zena and build/erase.wasm does not. import { init as initImpl, inbuf as inbufImpl, push as pushImpl, outbuf as outbufImpl, errorCount as errorCountImpl, errorsPtr as errorsPtrImpl, pragma as pragmaImpl, mapCount as mapCountImpl, mapPtr as mapPtrImpl, mapLine as mapLineImpl, mapSrcLine as mapSrcLineImpl, } from './strip.zena'; export function init(m: i32): void { initImpl(m); } export function inbuf(cap: i32): i32 { return inbufImpl(cap); } export function push(len: i32, fin: i32): i32 { return pushImpl(len, fin); } export function outbuf(): i32 { return outbufImpl(); } export function errorCount(): i32 { return errorCountImpl(); } export function errorsPtr(): i32 { return errorsPtrImpl(); } export function pragma(a: i32, b: i32, c: i32): void { pragmaImpl(a, b, c); } export function mapCount(): i32 { return mapCountImpl(); } export function mapPtr(): i32 { return mapPtrImpl(); } export function mapLine(): i32 { return mapLineImpl(); } export function mapSrcLine(): i32 { return mapSrcLineImpl(); }