hello-wasm-template
v0.1.2
Published
wasm sample template
Downloads
2
Readme
WebAssembly template
- wasm 项目示例模板
/* tslint:disable */
/* eslint-disable */
/**
*/
export function greet(): void;
/**
* @returns {string}
*/
export function get_char(): string;
/**
* @returns {string}
*/
export function get_str(): string;
/**
* @returns {number}
*/
export function get_usize(): number;
/**
* @returns {number}
*/
export function get_isize(): number;
/**
* ### string inversion
* ### 字符串反转
* @param {string} str
* @returns {string}
*/
export function parse_str(str: string): string;
/**
* ### fibonacci series
* ### 斐波那契数列
* @param {number} x
* @returns {number}
*/
export function fib(x: number): number;