diff options
Diffstat (limited to 'Public/Developer/System.Core/Sources/Start.c')
| -rw-r--r-- | Public/Developer/System.Core/Sources/Start.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Public/Developer/System.Core/Sources/Start.c b/Public/Developer/System.Core/Sources/Start.c index 25a29e18..24d41a1e 100644 --- a/Public/Developer/System.Core/Sources/Start.c +++ b/Public/Developer/System.Core/Sources/Start.c @@ -4,11 +4,12 @@ #include <System.Core/Headers/Heap.h> +/// @brief Main Application object, retrieved from __start symbol. +CA_EXTERN_C ObjectRef kApplicationObject = NULL; + /// @brief Inits the library. /// @return if it was succesful or not. -CA_EXTERN_C DWordType __start(VoidType) { +CA_EXTERN_C VoidType __start(VoidType) { kApplicationObject = RtGetAppObject(); CA_MUST_PASS(kApplicationObject); - - return 0; } |
