diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-27 20:45:46 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-27 20:45:46 +0200 |
| commit | 9db58da40cfcb6643412bfae25aefc0cd1077f9d (patch) | |
| tree | c6664fc649968ca1be7ddc59dfe3e9a7dd0f3ebc /SDK/Libraries/CoreSystem/Sources/Math.c | |
| parent | ce84bea215424ff36a2c18cab67835edfa8f71b5 (diff) | |
MHR-23: Improve project structure, make it better.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'SDK/Libraries/CoreSystem/Sources/Math.c')
| -rw-r--r-- | SDK/Libraries/CoreSystem/Sources/Math.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/SDK/Libraries/CoreSystem/Sources/Math.c b/SDK/Libraries/CoreSystem/Sources/Math.c new file mode 100644 index 00000000..19df42f3 --- /dev/null +++ b/SDK/Libraries/CoreSystem/Sources/Math.c @@ -0,0 +1,14 @@ +/* ------------------------------------------- + + Copyright SoftwareLabs + +------------------------------------------- */ + +#include <Headers/Math.h> + +/// @brief Number generator helper. +/// @return Random generated number. +CS_EXTERN_C SizeType MathRand(VoidType) +{ + return kSharedApplication->Invoke(kSharedApplication, kCallRandomNumberGenerator); +}
\ No newline at end of file |
