blob: 19c478d18c77dc53130ca5c5845261679b463fde [file] [log] [blame] [edit]
// bindgen-flags: --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> {
};