OLD | NEW |
1 module js_to_cpp { | 1 module js_to_cpp; |
2 | 2 |
3 // This struct encompasses all of the basic types, so that they | 3 // This struct encompasses all of the basic types, so that they |
4 // may be sent from C++ to JS and back for validation. | 4 // may be sent from C++ to JS and back for validation. |
5 struct EchoArgs { | 5 struct EchoArgs { |
6 int64 si64; | 6 int64 si64; |
7 int32 si32; | 7 int32 si32; |
8 int16 si16; | 8 int16 si16; |
9 int8 si8; | 9 int8 si8; |
10 uint64 ui64; | 10 uint64 ui64; |
11 uint32 ui32; | 11 uint32 ui32; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 BackPointerResponse(EchoArgsList arg); | 44 BackPointerResponse(EchoArgsList arg); |
45 }; | 45 }; |
46 | 46 |
47 [Client=CppSide] | 47 [Client=CppSide] |
48 interface JsSide { | 48 interface JsSide { |
49 Ping(); | 49 Ping(); |
50 Echo(int32 numIterations, EchoArgs arg); | 50 Echo(int32 numIterations, EchoArgs arg); |
51 BitFlip(EchoArgs arg); | 51 BitFlip(EchoArgs arg); |
52 BackPointer(EchoArgs arg); | 52 BackPointer(EchoArgs arg); |
53 }; | 53 }; |
54 | |
55 } | |
OLD | NEW |