xot 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog.md +5 -0
- data/VERSION +1 -1
- data/include/xot/exception.h +4 -0
- data/src/exception.cpp +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79e130bc4eefe4d6e43fb750250fa74457fa5f1483792e07befe0fc0f4cada28
|
4
|
+
data.tar.gz: 4df2a50d43dfc35817f4dd5d5946608ad33855da6a27b7f9dfa130312437920d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74fb2a7e0a26949af6076ea8ecd986d8068be4650c275f4806ed48e695538e7b5a176936d415707371dfa8e39b7bb630290880fa1665be04d41c2a266a4027e1
|
7
|
+
data.tar.gz: 0bdf28bdf5055a3168a2f0c628f5362857df4df0df6b141a6c1a44ed8c16d8a593d2e22fdaa7eba01441dcb3a81a1885004f9864dd67e4fa4b972a76a36e5f0e
|
data/ChangeLog.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.8
|
data/include/xot/exception.h
CHANGED
@@ -60,6 +60,10 @@ namespace Xot
|
|
60
60
|
void index_error (
|
61
61
|
const char* file, int line, const char* format = NULL, ...);
|
62
62
|
|
63
|
+
[[noreturn]]
|
64
|
+
void range_error (
|
65
|
+
const char* file, int line, const char* format = NULL, ...);
|
66
|
+
|
63
67
|
[[noreturn]]
|
64
68
|
void invalid_state_error (
|
65
69
|
const char* file, int line, const char* format = NULL, ...);
|
data/src/exception.cpp
CHANGED
@@ -93,6 +93,13 @@ namespace Xot
|
|
93
93
|
throw std::out_of_range(error_text(file, line, s));
|
94
94
|
}
|
95
95
|
|
96
|
+
void
|
97
|
+
range_error (const char* file, int line, const char* format, ...)
|
98
|
+
{
|
99
|
+
XOT_STRINGF(format, s);
|
100
|
+
throw std::range_error(error_text(file, line, s));
|
101
|
+
}
|
102
|
+
|
96
103
|
void
|
97
104
|
invalid_state_error (const char* file, int line, const char* format, ...)
|
98
105
|
{
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- xordog
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This library include some useful utility classes and functions for development
|
14
14
|
with C++.
|