mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 04:36:06 +00:00

This patch introduces the `VISIT` enum for tree search. Existing tests ensure the correct generation of headers.
83 lines
1.6 KiB
YAML
83 lines
1.6 KiB
YAML
header: search.h
|
|
header_template: search.h.def
|
|
macros: []
|
|
types:
|
|
- type_name: struct_hsearch_data
|
|
- type_name: ENTRY
|
|
- type_name: ACTION
|
|
- type_name: VISIT
|
|
- type_name: __lsearchcompare_t
|
|
enums: []
|
|
objects: []
|
|
functions:
|
|
- name: hcreate
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: size_t
|
|
- name: hcreate_r
|
|
standards: GNUExtensions
|
|
return_type: int
|
|
arguments:
|
|
- type: size_t
|
|
- type: struct hsearch_data *
|
|
- name: hdestroy
|
|
standards: GNUExtensions
|
|
return_type: void
|
|
arguments: []
|
|
- name: hdestroy_r
|
|
standards:
|
|
- POSIX
|
|
return_type: void
|
|
arguments:
|
|
- type: struct hsearch_data *
|
|
- name: hsearch
|
|
standards:
|
|
- POSIX
|
|
return_type: ENTRY *
|
|
arguments:
|
|
- type: ENTRY
|
|
- type: ACTION
|
|
- name: hsearch_r
|
|
standards: GNUExtensions
|
|
return_type: int
|
|
arguments:
|
|
- type: ENTRY
|
|
- type: ACTION
|
|
- type: ENTRY * *
|
|
- type: struct hsearch_data *
|
|
- name: insque
|
|
standards:
|
|
- POSIX
|
|
return_type: void
|
|
arguments:
|
|
- type: void *
|
|
- type: void *
|
|
- name: remque
|
|
standards:
|
|
- POSIX
|
|
return_type: void
|
|
arguments:
|
|
- type: void *
|
|
- name: lfind
|
|
standards:
|
|
- POSIX
|
|
return_type: void *
|
|
arguments:
|
|
- type: const void *
|
|
- type: const void *
|
|
- type: size_t *
|
|
- type: size_t
|
|
- type: __lsearchcompare_t
|
|
- name: lsearch
|
|
standards:
|
|
- POSIX
|
|
return_type: void *
|
|
arguments:
|
|
- type: const void *
|
|
- type: void *
|
|
- type: size_t *
|
|
- type: size_t
|
|
- type: __lsearchcompare_t
|