mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-18 07:11:56 +03:00
15 lines
251 B
Plaintext
15 lines
251 B
Plaintext
|
callback interface CallbackInterface1 {
|
||
|
void foo();
|
||
|
};
|
||
|
|
||
|
callback interface CallbackInterface2 {
|
||
|
void foo();
|
||
|
void bar();
|
||
|
};
|
||
|
|
||
|
[Constructor()]
|
||
|
interface TakeCallbackInterface {
|
||
|
void a(CallbackInterface1 arg);
|
||
|
void b(CallbackInterface2 arg);
|
||
|
};
|