UNPKG

@thi.ng/wasm-api-bindgen

Version:

Polyglot bindings code generators (TS/JS, Zig, C11) for hybrid WebAssembly projects

14 lines 483 B
import type { AlignStrategy, TopLevelType } from "../api.js"; /** * C ABI compatible alignment */ export declare const ALIGN_C: AlignStrategy; export declare const ALIGN_PACKED: AlignStrategy; /** * Returns a suitable alignment strategy for given type, i.e. either the user * supplied impl defined for the type or the default ({@link ALIGN_C}). * * @param type */ export declare const selectAlignment: (type: TopLevelType) => AlignStrategy; //# sourceMappingURL=align.d.ts.map