summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Sources/CRT0.c
diff options
context:
space:
mode:
Diffstat (limited to 'Public/Developer/System.Core/Sources/CRT0.c')
-rw-r--r--Public/Developer/System.Core/Sources/CRT0.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/Public/Developer/System.Core/Sources/CRT0.c b/Public/Developer/System.Core/Sources/CRT0.c
new file mode 100644
index 00000000..03aa62b8
--- /dev/null
+++ b/Public/Developer/System.Core/Sources/CRT0.c
@@ -0,0 +1,14 @@
+/** ===========================================
+ (C) Mahrouss Logic
+ ===========================================*/
+
+#include <System.Core/Headers/Heap.h>
+
+/// @brief Inits the library.
+/// @return if it was succesful or not.
+CA_EXTERN_C DWordType __start(VoidType) {
+ kApplicationObject = RtGetAppObject();
+ CA_MUST_PASS(kApplicationObject);
+
+ return 0;
+} \ No newline at end of file