mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
Remove the unnecessary .h.def file and move all the macro definitions directly into dlfcn.yaml.
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
header: dlfcn.h
|
|
standards:
|
|
- posix
|
|
macros:
|
|
# Note that macro values are quoted to keep the integer literals as
|
|
# written. Without the quotes, YAML will normalize them to minimal
|
|
# decimal, which is less readable for humans seeing the generated header.
|
|
- macro_name: RTLD_LAZY
|
|
macro_value: "0x00001"
|
|
- macro_name: RTLD_NOW
|
|
macro_value: "0x00002"
|
|
- macro_name: RTLD_GLOBAL
|
|
macro_value: "0x00100"
|
|
- macro_name: RTLD_LOCAL
|
|
macro_value: "0"
|
|
- macro_name: RTLD_BINDING_MASK
|
|
standards:
|
|
- gnu
|
|
macro_value: "0x00003"
|
|
- macro_name: RTLD_NOLOAD
|
|
standards:
|
|
- gnu
|
|
macro_value: "0x00004"
|
|
- macro_name: RTLD_DEEPBIND
|
|
standards:
|
|
- gnu
|
|
macro_value: "0x00008"
|
|
- macro_name: RTLD_NODELETE
|
|
standards:
|
|
- gnu
|
|
macro_value: "0x01000"
|
|
functions:
|
|
- name: dlclose
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: void *
|
|
- name: dlerror
|
|
standards:
|
|
- POSIX
|
|
return_type: char *
|
|
arguments: []
|
|
- name: dlopen
|
|
standards:
|
|
- POSIX
|
|
return_type: void *
|
|
arguments:
|
|
- type: const char *
|
|
- type: int
|
|
- name: dlsym
|
|
standards:
|
|
- POSIX
|
|
return_type: void *
|
|
arguments:
|
|
- type: void *__restrict
|
|
- type: const char *__restrict
|