Hello,I try to use Wasmnizer-ts on Ubuntu20,and meet some problems:
For a host-implemented class, how should one access and manipulate its member variables on the host side?
No relevant guidance was found in the documentation (only instructions on how to implement class member functions on the host side were provided)
e.g. (ts code)
declare class DeclaredClass {
grade: number;
constructor(grade: number);
sayHello(): void;
static whoSayHi(name: string): number;
get value(): any;
set value(v: number);
}
Hello,I try to use Wasmnizer-ts on Ubuntu20,and meet some problems:
For a host-implemented class, how should one access and manipulate its member variables on the host side?
No relevant guidance was found in the documentation (only instructions on how to implement class member functions on the host side were provided)
e.g. (ts code)
declare class DeclaredClass {
grade: number;
constructor(grade: number);
sayHello(): void;
static whoSayHi(name: string): number;
get value(): any;
set value(v: number);
}