diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-16 12:06:26 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-16 12:06:26 +0100 |
commit | 048f2aabecc8adf1fcc76ecf0dcad9ef07c0ae98 (patch) | |
tree | 6e32c4075b0bef0cfa7a9c3ece4294db7a10c046 /src/st.h | |
parent | b0e9d5f1322c403a2ba1df7f86e27d2514f576da (diff) | |
parent | e6ce8c11c114a794f5523eaaec52688716873b72 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/st.h')
-rw-r--r-- | src/st.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -34,13 +34,6 @@ enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE, ST_CHECK}; #ifndef _ # define _(args) args #endif -#ifndef ANYARGS -# ifdef __cplusplus -# define ANYARGS ... -# else -# define ANYARGS -# endif -#endif st_table *st_init_table _((struct st_hash_type *)); st_table *st_init_table_with_size _((struct st_hash_type *, int)); @@ -52,7 +45,7 @@ int st_delete _((st_table *, st_data_t *, st_data_t *)); int st_delete_safe _((st_table *, st_data_t *, st_data_t *, st_data_t)); int st_insert _((st_table *, st_data_t, st_data_t)); int st_lookup _((st_table *, st_data_t, st_data_t *)); -int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); +int st_foreach _((st_table *, int (*)(st_data_t, st_data_t, st_data_t), st_data_t)); void st_add_direct _((st_table *, st_data_t, st_data_t)); void st_free_table _((st_table *)); void st_cleanup_safe _((st_table *, st_data_t)); |