summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/SystemLib/Sources/ApplicationStart.c
diff options
context:
space:
mode:
Diffstat (limited to 'Public/Developer/SystemLib/Sources/ApplicationStart.c')
-rw-r--r--Public/Developer/SystemLib/Sources/ApplicationStart.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/Public/Developer/SystemLib/Sources/ApplicationStart.c b/Public/Developer/SystemLib/Sources/ApplicationStart.c
new file mode 100644
index 00000000..5b91ba18
--- /dev/null
+++ b/Public/Developer/SystemLib/Sources/ApplicationStart.c
@@ -0,0 +1,14 @@
+/* -------------------------------------------
+
+ Copyright Mahrouss Logic
+
+------------------------------------------- */
+
+#include <Headers/Defines.h>
+
+/// @brief Inits the system library.
+/// @return if it was succesful or not.
+CA_EXTERN_C VoidType __start(VoidType) {
+ kSharedApplication = RtGetAppObject();
+ CA_MUST_PASS(kSharedApplication);
+}