diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-17 09:54:17 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-17 10:08:50 +0200 |
| commit | c0099ab36bf9606c5503ceb0fa0d5b64f71c7203 (patch) | |
| tree | 1c310521280e3c995981a903895c7c2e124582ee /Public/Developer/FragLib/Sources/ImageStart.c | |
| parent | f93fb4439aaa865d998a790348313a4c7163bb8b (diff) | |
Unrelated: These changes are important but related to nothing.
- Window now becomes Wm, as in Window manager.
- Fix entrypoint for FragLib.
- Remove CoreEvents to be replaced with Event Server, reworked Display Server.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Public/Developer/FragLib/Sources/ImageStart.c')
| -rw-r--r-- | Public/Developer/FragLib/Sources/ImageStart.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Public/Developer/FragLib/Sources/ImageStart.c b/Public/Developer/FragLib/Sources/ImageStart.c new file mode 100644 index 00000000..3fbac042 --- /dev/null +++ b/Public/Developer/FragLib/Sources/ImageStart.c @@ -0,0 +1,22 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#include <Headers/Defines.h> + +/// @brief Application entrypoint. +/// @param void +/// @return void +CA_EXTERN_C VoidType AppMain(VoidType); + +/// @brief Process entrypoint. +/// @param void +/// @return void +CA_EXTERN_C VoidType __ImageStart(VoidType) { + kSharedApplication = RtGetAppPointer(); + CA_MUST_PASS(kSharedApplication); + + AppMain(); +} |
