summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Sources/App.c
diff options
context:
space:
mode:
Diffstat (limited to 'Public/Developer/System.Core/Sources/App.c')
-rw-r--r--Public/Developer/System.Core/Sources/App.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/Public/Developer/System.Core/Sources/App.c b/Public/Developer/System.Core/Sources/App.c
new file mode 100644
index 00000000..0bd7fd03
--- /dev/null
+++ b/Public/Developer/System.Core/Sources/App.c
@@ -0,0 +1,20 @@
+/** ===========================================
+ (C) Mahrouss Logic
+ ===========================================*/
+
+#include <System.Core/Headers/Defines.h>
+
+/// @brief Gets the app arguments count.
+/// @param
+/// @return
+CA_EXTERN_C SizeType RtGetAppArgumentsCount(VoidType) {
+ return kApplicationObject->Invoke(kApplicationObject, kCallGetArgsCount);
+}
+
+/// @brief Gets the app arguments pointer.
+/// @param
+/// @return
+CA_EXTERN_C CharacterTypeUTF8* RtGetAppArgumentsPtr(VoidType) {
+ return (CharacterTypeUTF8*)kApplicationObject->Invoke(kApplicationObject,
+ kCallGetArgsPtr);
+} \ No newline at end of file