From f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 29 Oct 2024 14:49:26 +0800 Subject: format * format * Minor test fixes * enable checking cpp format in ci --- source/slang-rt/slang-rt.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source/slang-rt/slang-rt.cpp') diff --git a/source/slang-rt/slang-rt.cpp b/source/slang-rt/slang-rt.cpp index 11b4ea773..35ffdb138 100644 --- a/source/slang-rt/slang-rt.cpp +++ b/source/slang-rt/slang-rt.cpp @@ -1,9 +1,10 @@ #include "slang-rt.h" + #include "../core/slang-basic.h" #include "../core/slang-shared-library.h" #if SLANG_WINDOWS_FAMILY -# include +#include #endif using namespace Slang; @@ -26,7 +27,8 @@ extern "C" if (!slangRT_loadedLibraries.tryGetValue(modulePath, lib)) { if (DefaultSharedLibraryLoader::getSingleton()->loadSharedLibrary( - modulePath.getBuffer(), lib.writeRef()) != SLANG_OK) + modulePath.getBuffer(), + lib.writeRef()) != SLANG_OK) { _slang_rt_abort("Failed to load DLL \"" + modulePath + "\""); } @@ -36,7 +38,7 @@ extern "C" } SLANG_RT_API void* SLANG_MCALL - _slang_rt_load_dll_func(void* moduleHandle, Slang::String funcName, uint32_t argSize) + _slang_rt_load_dll_func(void* moduleHandle, Slang::String funcName, uint32_t argSize) { if (moduleHandle == nullptr) { -- cgit v1.2.3