diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-26 16:01:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-26 16:01:12 +0100 |
| commit | 36269e57831e560df6a0da9c9d02c00671b0163d (patch) | |
| tree | 69f6a0c6f08ef5ef2f6fcbb7302537dbce222e6e /dev/launch/LaunchKit/Foundation.h | |
| parent | 2117a9b0f4b84f5bd6c99566bcf5849a64104467 (diff) | |
| parent | b6ce6640afaf6c1cc6ad274f3053b2e218a49554 (diff) | |
Merge pull request #68 from nekernel-org/dev
NeKernel: v0.0.6e1
Diffstat (limited to 'dev/launch/LaunchKit/Foundation.h')
| -rw-r--r-- | dev/launch/LaunchKit/Foundation.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev/launch/LaunchKit/Foundation.h b/dev/launch/LaunchKit/Foundation.h new file mode 100644 index 00000000..24df46f6 --- /dev/null +++ b/dev/launch/LaunchKit/Foundation.h @@ -0,0 +1,21 @@ +/* ------------------------------------------- + + Copyright (C) 2025, Amlal El Mahrouss, all rights reserved. + + ------------------------------------------- */ + +#pragma once + +#include <libSystem/SystemKit/System.h> +#include <CoreFoundation.fwrk/headers/Ref.h> + +/// @author Amlal El Mahrouss +/// @brief NeKernel Launch Kit - launch programs from it. + +#define NELAUNCH_INFO(MSG) PrintOut(nullptr, "INFO: [LAUNCH] %s\n", MSG) +#define NELAUNCH_WARN(MSG) PrintOut(nullptr, "WARN: [LAUNCH] %s\n", MSG) + +namespace Launch { +using AnyRef = CF::CFRef<VoidPtr>; +using StatusRef = CF::CFRef<SInt32>; +} // namespace Launch |
