Add WIP bulk functions for DICT/OA

This commit is contained in:
Patrick Pelissier committed 2024-05-09 14:10:22 +02:00
1 parent 8fd79f07d5
commit 22d62f94bb
2 files changed
+115 -2

No files matched your search

+12 -1
View File
@@ -143,6 +143,13 @@
#endif
/* Prefetch . */
#if defined(__GNUC__)
# define M_PREFETCH(p) __builtin_prefetch((p), 0, 0)
#else
# define M_PREFETCH(p) (void) 0
#endif
/* Ignore some warnings detected by some compilers in the library.
* Whatever we do, there is some warnings that cannot be fixed.
* So they are ignored in order to avoid polluting the user with
@@ -2895,11 +2902,15 @@ M_PARSE_DEFAULT_TYPE_DEF(m_core_parse_ldouble, long double, strtold, )
/* C++ doesn't support flexible array within a structure.
Let's define at least one element for an array. */
Let's define at least one element for an array.
It doesn't also support VLA usage in function prototype.
*/
#ifdef __cplusplus
# define M_MIN_FLEX_ARRAY_SIZE 1
# define M_VLA(n)
#else
# define M_MIN_FLEX_ARRAY_SIZE
# define M_VLA(n) n
#endif
#if M_USE_STDARG && M_USE_STDIO