// Jackson Coxson #ifndef IDEVICE_FFI #define IDEVICE_FFI #include #include namespace IdeviceFFI { class FfiError { public: int32_t code = 0; std::string message; FfiError(const IdeviceFfiError* err); FfiError(); explicit operator bool() const { return code != 0; } }; } // namespace IdeviceFFI #endif