summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Sources/App.c
blob: 0bd7fd03e0e74a4252c99c27f9d6a8ff6af31fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
}