summaryrefslogtreecommitdiffhomepage
path: root/public/frameworks/LaunchHelpers.fwrk/src/Foundation.cc
diff options
context:
space:
mode:
Diffstat (limited to 'public/frameworks/LaunchHelpers.fwrk/src/Foundation.cc')
-rw-r--r--public/frameworks/LaunchHelpers.fwrk/src/Foundation.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/public/frameworks/LaunchHelpers.fwrk/src/Foundation.cc b/public/frameworks/LaunchHelpers.fwrk/src/Foundation.cc
new file mode 100644
index 00000000..6cc3bff3
--- /dev/null
+++ b/public/frameworks/LaunchHelpers.fwrk/src/Foundation.cc
@@ -0,0 +1,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.
+LaunchHelpers::LHLaunchInfo* LaunchHelpers::LHGetLaunchInfo(Void) {
+ return static_cast<LaunchHelpers::LHLaunchInfo*>(
+ libsys_syscall_arg_1(libsys_hash_64("__LHGetLaunchInfo")));
+} \ No newline at end of file