-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for most data conversions (#4281)
- Loading branch information
1 parent
a955368
commit bd73514
Showing
4 changed files
with
1,327 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export function echo_u8(a: number): number; | ||
export function echo_i8(a: number): number; | ||
export function echo_u16(a: number): number; | ||
export function echo_i16(a: number): number; | ||
export function echo_u32(a: number): number; | ||
export function echo_i32(a: number): number; | ||
export function echo_u64(a: bigint): bigint; | ||
export function echo_i64(a: bigint): bigint; | ||
export function echo_u128(a: bigint): bigint; | ||
export function echo_i128(a: bigint): bigint; | ||
export function echo_usize(a: number): number; | ||
export function echo_isize(a: number): number; | ||
export function echo_f32(a: number): number; | ||
export function echo_f64(a: number): number; | ||
export function echo_bool(a: boolean): boolean; | ||
export function echo_char(a: string): string; | ||
export function echo_string(a: string): string; | ||
export function echo_vec_u8(a: Uint8Array): Uint8Array; | ||
export function echo_vec_i8(a: Int8Array): Int8Array; | ||
export function echo_vec_u16(a: Uint16Array): Uint16Array; | ||
export function echo_vec_i16(a: Int16Array): Int16Array; | ||
export function echo_vec_u32(a: Uint32Array): Uint32Array; | ||
export function echo_vec_i32(a: Int32Array): Int32Array; | ||
export function echo_vec_u64(a: BigUint64Array): BigUint64Array; | ||
export function echo_vec_i64(a: BigInt64Array): BigInt64Array; | ||
export function echo_vec_string(a: (string)[]): (string)[]; | ||
export function echo_struct(a: Foo): Foo; | ||
export function echo_vec_struct(a: (Foo)[]): (Foo)[]; | ||
export function echo_option_u8(a?: number): number | undefined; | ||
export function echo_option_i8(a?: number): number | undefined; | ||
export function echo_option_u16(a?: number): number | undefined; | ||
export function echo_option_i16(a?: number): number | undefined; | ||
export function echo_option_u32(a?: number): number | undefined; | ||
export function echo_option_i32(a?: number): number | undefined; | ||
export function echo_option_u64(a?: bigint): bigint | undefined; | ||
export function echo_option_i64(a?: bigint): bigint | undefined; | ||
export function echo_option_u128(a?: bigint): bigint | undefined; | ||
export function echo_option_i128(a?: bigint): bigint | undefined; | ||
export function echo_option_usize(a?: number): number | undefined; | ||
export function echo_option_isize(a?: number): number | undefined; | ||
export function echo_option_f32(a?: number): number | undefined; | ||
export function echo_option_f64(a?: number): number | undefined; | ||
export function echo_option_bool(a?: boolean): boolean | undefined; | ||
export function echo_option_char(a?: string): string | undefined; | ||
export function echo_option_string(a?: string): string | undefined; | ||
export function echo_option_vec_u8(a?: Uint8Array): Uint8Array | undefined; | ||
export function echo_option_vec_i8(a?: Int8Array): Int8Array | undefined; | ||
export function echo_option_vec_u16(a?: Uint16Array): Uint16Array | undefined; | ||
export function echo_option_vec_i16(a?: Int16Array): Int16Array | undefined; | ||
export function echo_option_vec_u32(a?: Uint32Array): Uint32Array | undefined; | ||
export function echo_option_vec_i32(a?: Int32Array): Int32Array | undefined; | ||
export function echo_option_vec_u64(a?: BigUint64Array): BigUint64Array | undefined; | ||
export function echo_option_vec_i64(a?: BigInt64Array): BigInt64Array | undefined; | ||
export function echo_option_vec_string(a?: (string)[]): (string)[] | undefined; | ||
export function echo_option_struct(a?: Foo): Foo | undefined; | ||
export function echo_option_vec_struct(a?: (Foo)[]): (Foo)[] | undefined; | ||
export class Foo { | ||
free(): void; | ||
} |
Oops, something went wrong.