mirror of
https://github.com/logos-co/logos-cpp-sdk.git
synced 2026-08-30 17:21:15 +00:00
* Add LogosResult * Add documentation for complex types * Add get type util function * Add more shorthand functions * Add bool support * Provide more shorthand functions * Throw exception on bad access * Fix typo in doc
11 lines
281 B
C++
11 lines
281 B
C++
#include "logos_types.h"
|
|
|
|
QDataStream& operator<<(QDataStream& out, const LogosResult& result) {
|
|
out << result.success << result.value;
|
|
return out;
|
|
}
|
|
|
|
QDataStream& operator>>(QDataStream& in, LogosResult& result) {
|
|
in >> result.success >> result.value;
|
|
return in;
|
|
} |