mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-03 18:54:16 +03:00
Fix conf_handle_char_p zero-sized dest and remove unused conf_handle_unsigned
This commit is contained in:
parent
deae945c91
commit
693d9217f0
3 changed files with 27 additions and 93 deletions
|
|
@ -9,19 +9,15 @@ void malloc_abort_invalid_conf(void);
|
|||
|
||||
#ifdef JEMALLOC_JET
|
||||
extern bool had_conf_error;
|
||||
|
||||
bool conf_next(char const **opts_p, char const **k_p, size_t *klen_p,
|
||||
char const **v_p, size_t *vlen_p);
|
||||
void conf_error(const char *msg, const char *k, size_t klen,
|
||||
const char *v, size_t vlen);
|
||||
void conf_error(
|
||||
const char *msg, const char *k, size_t klen, const char *v, size_t vlen);
|
||||
bool conf_handle_bool(const char *v, size_t vlen, bool *result);
|
||||
bool conf_handle_unsigned(const char *v, size_t vlen,
|
||||
uintmax_t min, uintmax_t max, bool check_min, bool check_max,
|
||||
bool clip, uintmax_t *result);
|
||||
bool conf_handle_signed(const char *v, size_t vlen,
|
||||
intmax_t min, intmax_t max, bool check_min, bool check_max,
|
||||
bool clip, intmax_t *result);
|
||||
bool conf_handle_char_p(const char *v, size_t vlen,
|
||||
char *dest, size_t dest_sz);
|
||||
bool conf_handle_signed(const char *v, size_t vlen, intmax_t min, intmax_t max,
|
||||
bool check_min, bool check_max, bool clip, intmax_t *result);
|
||||
bool conf_handle_char_p(const char *v, size_t vlen, char *dest, size_t dest_sz);
|
||||
#endif
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_CONF_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue