blob: 3d9ae3dde9934aae0c17fcd428edf3cc77874087 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq --rustified-enum ".*"
template<typename T>
struct TErrorResult {
enum UnionState {
HasMessage,
HasException,
};
int mResult;
struct Message;
struct DOMExceptionInfo;
union {
Message* mMessage;
DOMExceptionInfo* mDOMExceptionInfo;
};
bool mMightHaveUnreported;
UnionState mUnionState;
};
struct ErrorResult : public TErrorResult<int> {
};
|