blob: 159ea243e2f4d73415f007b47b467a55ce2d1ffc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* ========================================
Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
======================================== */
#include <LaunchHelpers.fwrk/headers/Foundation.h>
#include <libSystem/SystemKit/Syscall.h>
/// @brief Get launch information.
/// @return the launch information structure.
CF::CFRef<LaunchHelpers::LHLaunchInfo> LaunchHelpers::LHGetLaunchInfo(Void) {
return static_cast<LaunchHelpers::LHLaunchInfo*>(
libsys_syscall_arg_1(libsys_hash_64("__LHGetLaunchInfoRef")));
}
|