Switches the following headers to hdrgen-produced ones by referencing some macro from C standard and the file containing the declarations in corresponding YAML files: * limits.h (referenced _WIDTH / _MAX / _MIN families). * locale.h (referenced LC_ family). * time.h (referenced CLOCKS_PER_SEC). * wchar.h (referenced WEOF).
64 lines
1.3 KiB
YAML
64 lines
1.3 KiB
YAML
header: locale.h
|
|
standards:
|
|
- stdc
|
|
macros:
|
|
- macro_name: "NULL"
|
|
macro_header: null-macro.h
|
|
- macro_name: LC_ALL
|
|
macro_header: locale-macros.h
|
|
- macro_name: LC_COLLATE
|
|
macro_header: locale-macros.h
|
|
- macro_name: LC_CTYPE
|
|
macro_header: locale-macros.h
|
|
- macro_name: LC_MESSAGES
|
|
macro_header: locale-macros.h
|
|
- macro_name: LC_MONETARY
|
|
macro_header: locale-macros.h
|
|
- macro_name: LC_NUMERIC
|
|
macro_header: locale-macros.h
|
|
- macro_name: LC_TIME
|
|
macro_header: locale-macros.h
|
|
types:
|
|
- type_name: locale_t
|
|
- type_name: struct_lconv
|
|
functions:
|
|
- name: localeconv
|
|
standards:
|
|
- stdc
|
|
return_type: struct lconv *
|
|
arguments:
|
|
- type: void
|
|
- name: duplocale
|
|
standards:
|
|
- stdc
|
|
return_type: locale_t
|
|
arguments:
|
|
- type: locale_t
|
|
- name: freelocale
|
|
standards:
|
|
- stdc
|
|
return_type: void
|
|
arguments:
|
|
- type: locale_t
|
|
- name: newlocale
|
|
standards:
|
|
- stdc
|
|
return_type: locale_t
|
|
arguments:
|
|
- type: int
|
|
- type: const char *
|
|
- type: locale_t
|
|
- name: setlocale
|
|
standards:
|
|
- stdc
|
|
return_type: char *
|
|
arguments:
|
|
- type: int
|
|
- type: const char *
|
|
- name: uselocale
|
|
standards:
|
|
- stdc
|
|
return_type: locale_t
|
|
arguments:
|
|
- type: locale_t
|