diff options
Diffstat (limited to 'src/launch')
| -rw-r--r-- | src/launch/LaunchKit/Foundation.h | 4 | ||||
| -rw-r--r-- | src/launch/src/.keep | 0 | ||||
| -rw-r--r-- | src/launch/src/AppMain.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/launch/LaunchKit/Foundation.h b/src/launch/LaunchKit/Foundation.h index d7eb901f..5fb8efea 100644 --- a/src/launch/LaunchKit/Foundation.h +++ b/src/launch/LaunchKit/Foundation.h @@ -15,7 +15,7 @@ #define NELAUNCH_INFO(MSG) PrintOut(nullptr, "INFO: [LAUNCH] %s\n", MSG) #define NELAUNCH_WARN(MSG) PrintOut(nullptr, "WARN: [LAUNCH] %s\n", MSG) -namespace Launch { +namespace LaunchKit { using AnyRef = CF::CFRef<VoidPtr>; using StatusRef = CF::CFRef<SInt32>; -} // namespace Launch +} // namespace LaunchKit diff --git a/src/launch/src/.keep b/src/launch/src/.keep deleted file mode 100644 index e69de29b..00000000 --- a/src/launch/src/.keep +++ /dev/null diff --git a/src/launch/src/AppMain.cc b/src/launch/src/AppMain.cc index 10e9ff2b..5f2a19f9 100644 --- a/src/launch/src/AppMain.cc +++ b/src/launch/src/AppMain.cc @@ -9,9 +9,9 @@ #include <libSystem/SystemKit/Syscall.h> /// @note This called by _NeMain from its own runtime. -extern "C" SInt32 nelaunch_startup_fn(Void) { +IMPORT_C SInt32 nelaunch_startup_fn(Void) { /// Start LaunchHelpers.fwrk services, and make the launcher manageable too (via mgmt.launch) - UInt32* ret = (UInt32*) libsys_syscall_arg_1(libsys_hash_64("__launch_register_launch_service")); + UInt32* ret = static_cast<UInt32*>(libsys_syscall_arg_1(libsys_hash_64("__launch_register_launch_service"))); if (ret) { switch (*ret) { |
