diff options
Diffstat (limited to 'src/u.hh')
| -rw-r--r-- | src/u.hh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/u.hh b/src/u.hh new file mode 100644 index 0000000..583b67b --- /dev/null +++ b/src/u.hh @@ -0,0 +1,19 @@ +#ifndef U_HH +#define U_HH + +namespace u { + +enum class ReadError { + Invalid, // Invalid sequence + End, // At end (it == end) + Incomplete, // Too few bytes +}; + +enum class ReadErrorReplace { + End, // At end (it == end) + Incomplete, // Too few bytes +}; + +} // namespace u + +#endif // U_HH |
