Debian Codegraph @

libphobos/libdruntime/core/sys/darwin/dlfcn.d

raw
1 /**
2 * D header file for Darwin.
3 *
4 * $(LINK2 https://opensource.apple.com/source/dyld/dyld-360.22/include/dlfcn.h, Apple dyld/dlfcn.h)
5 *
6 * Copyright: Copyright David Nadlinger 2016.
7 * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
8 * Authors: David Nadlinger
9 */
10 module core.sys.darwin.dlfcn;
11
12 version (OSX)
13 version = Darwin;
14 else version (iOS)
15 version = Darwin;
16 else version (TVOS)
17 version = Darwin;
18 else version (WatchOS)
19 version = Darwin;
20
21 version (Darwin):
22 extern(C):
23 nothrow:
24 @nogc:
25
26 public import core.sys.posix.dlfcn;
27
28 enum RTLD_NEXT = cast(void*) -1;
29 enum RTLD_DEFAULT = cast(void*) -2;
30 enum RTLD_SELF = cast(void*) -3;
31 enum RTLD_MAIN_ONLY = cast(void*) -5;