99 * @see c4::yml::extra::EventHandlerInts
1010 * */
1111
12- #ifdef RYML_SINGLE_HEADER
13- #include < ryml_all.hpp>
14- #else
12+ #ifndef RYML_SINGLE_HEADER
1513#ifndef _C4_YML_NODE_TYPE_HPP_
1614#include < c4/yml/node_type.hpp>
1715#endif
2624#endif
2725#endif
2826
29-
3027namespace c4 {
3128namespace yml {
3229namespace extra {
@@ -84,7 +81,7 @@ typedef enum : DataType {
8481 // /< is set not to filter)
8582 UNFILT = (1 << 24 ),
8683 // Utility flags/masks
87- LAST = UNFILT, // /< the last flag defined above
84+ LAST = UNFILT, // /< the last flag defined above
8885 MASK = (LAST << 1 ) - 1 , // /< a mask of all bits in this enumeration
8986 WSTR = SCLR|ALIA|ANCH|TAG_, // /< with string: mask of all the events that encode a string
9087 // /< following the event. in the event has a string. the next two
@@ -110,9 +107,9 @@ namespace extra {
110107 * the number of events without undergoing a full parse. This
111108 * estimation is meant to exceed the actual number of required events.
112109 *
113- * @note This function overpredicts (as intended) for every case in
114- * the hundreds/thousands of extensive tests of rapidyaml ( both for
115- * the YAML test suite and the internal cases) . If you find a case
110+ * @note This function must overpredict. It does so for every case in
111+ * the hundreds/thousands of extensive tests of rapidyaml -- both for
112+ * the YAML test suite and the internal cases. If you find a case
116113 * where that does not hold, it is a bug. Please report it at
117114 * https://github.com/biojppm/rapidyaml/issues! */
118115RYML_EXPORT int32_t estimate_events_ints_size (csubstr src);
0 commit comments