]> git.ipfire.org Git - thirdparty/gcc.git/blame - libphobos/libdruntime/core/sys/darwin/mach/dyld.d
libphobos: Merge upstream druntime 5bb8ce19
[thirdparty/gcc.git] / libphobos / libdruntime / core / sys / darwin / mach / dyld.d
CommitLineData
03385ed3 1/**
2 * Copyright: Copyright Digital Mars 2010.
3 * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
4 * Authors: Jacob Carlborg
5 * Version: Initial created: Feb 20, 2010
6 */
7
8/* Copyright Digital Mars 2010.
9 * Distributed under the Boost Software License, Version 1.0.
10 * (See accompanying file LICENSE or copy at
11 * http://www.boost.org/LICENSE_1_0.txt)
12 */
13module core.sys.darwin.mach.dyld;
14
15version (OSX)
16 version = Darwin;
17else version (iOS)
18 version = Darwin;
19else version (TVOS)
20 version = Darwin;
21else version (WatchOS)
22 version = Darwin;
23
24version (Darwin):
25extern (C):
26nothrow:
27@nogc:
28
29public import core.stdc.stdint; // for intptr_t
30public import core.sys.darwin.mach.loader;
31
32uint _dyld_image_count();
33const(char)* _dyld_get_image_name(uint image_index);
34mach_header* _dyld_get_image_header(uint image_index);
facde14d 35intptr_t _dyld_get_image_vmaddr_slide(uint image_index);
03385ed3 36void _dyld_register_func_for_add_image(void function(in mach_header* mh, intptr_t vmaddr_slide));
37void _dyld_register_func_for_remove_image(void function(in mach_header* mh, intptr_t vmaddr_slide));
38
39