Files
clang-p2996/libc/include/malloc.yaml
Roland McGrath 625cb5a185 [libc] Share hdrgen declarations between stdlib.h and malloc.h (#127278)
This uses the new merge_yaml_files feature in hdrgen to share the
source of truth for the malloc suite of functions declared in
both stdlib.h and in malloc.h (without either header including
the other).  It also modernizes the malloc.yaml definition a bit,
including dropping the custom template malloc.h.def file in favor
of using the explicit macros list to generate the includes.
2025-02-14 16:46:56 -08:00

19 lines
333 B
YAML

header: malloc.h
standards:
- gnu
merge_yaml_files:
- stdlib-malloc.yaml
macros:
- macro_name: M_PURGE
macro_header: malloc-macros.h
- macro_name: M_PURGE_ALL
macro_header: malloc-macros.h
functions:
- name: mallopt
standards:
- gnu
return_type: int
arguments:
- type: int
- type: int