teptris 0.2.35 → 0.2.37
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 450227eac7f8694d924e1ab89b8c3e6b4ad1dd8992dcb555befccd4e4d19217a
|
|
4
|
+
data.tar.gz: 52f5b1420d40383379a73ca985e91d77c1cf853582324352f1c49e51c9e0fba2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f98c7bb62427ffe28d15069c5fe616010a980965a20ebbf95f28c6bb6018b905a83edb1104e69f74fa704b3c1c2fea94470dac39439b2ec0559a40770fc89d5d
|
|
7
|
+
data.tar.gz: 811af19a15dee49eb0b6b36c4ab5210b8035d1d69c164641f54b575a24a9bf545871d664aa91ef36c22c10498e32d407e7fa2f598291a5a3555feb4d96867f8e
|
|
@@ -42,12 +42,14 @@ struct teptris_node {
|
|
|
42
42
|
} as;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
/*
|
|
45
|
+
/* C99/MSVC-C-mode/nd C++ portable static assert (negative array
|
|
46
|
+
* size on violation); _Static_assert would pin us to C11+ */
|
|
46
47
|
#if defined(__cplusplus)
|
|
47
|
-
|
|
48
|
+
#define TEP_SA(cond, name) static_assert(cond, #name)
|
|
48
49
|
#else
|
|
49
|
-
|
|
50
|
+
#define TEP_SA(cond, name) typedef char tep_sa_##name[(cond) ? 1 : -1]
|
|
50
51
|
#endif
|
|
52
|
+
TEP_SA(sizeof(teptris_node) <= 64, node_fits_64);
|
|
51
53
|
|
|
52
54
|
struct teptris_document {
|
|
53
55
|
teptris_arena arena;
|
data/lib/teptris/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: teptris
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.37
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- teptris contributors
|
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2026-09-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: A native C extension over libteptris, a
|
|
13
|
+
description: A native C extension over libteptris, a C99 TOML 1.1 parser/emitter.
|
|
14
14
|
API shape mirrors the tomlib gem.
|
|
15
15
|
email:
|
|
16
16
|
executables: []
|