blob: f6b2ffac8c0daff51946cda0a61b1c4d5007ef63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// SPDX-License-Identifier: Apache-2.0
// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
#ifndef LAUNCHKIT_FOUNDATION_H
#define LAUNCHKIT_FOUNDATION_H
#include <CoreFoundation.fwrk/headers/Ref.h>
#include <libSystem/SystemKit/System.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
#endif
|