From e8cebdd573c584dc51c396b35810ca08cb350c82 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 11 Feb 2026 15:42:42 +0100 Subject: feat: CK: Improve codebase and introduce new concepts in DLL.h.. Signed-off-by: Amlal El Mahrouss --- src/CommandLine/pef-amd64-asm.cc | 6 +++--- src/CommandLine/pef-amd64-necdrv.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/CommandLine') diff --git a/src/CommandLine/pef-amd64-asm.cc b/src/CommandLine/pef-amd64-asm.cc index 1316d93..3ca4639 100644 --- a/src/CommandLine/pef-amd64-asm.cc +++ b/src/CommandLine/pef-amd64-asm.cc @@ -20,11 +20,11 @@ static auto kPath = "/usr/lib/libCompilerKit.so"; static auto kSymbol = "AssemblerMainAMD64"; Int32 main(Int32 argc, Char const* argv[]) { - CompilerKit::DLLLoader dylib; + CompilerKit::ModuleLoader dylib; dylib(kPath, kSymbol); - CompilerKit::DLLLoader::EntryT entrypoint_cxx = - reinterpret_cast(dylib.fEntrypoint); + CompilerKit::ModuleLoader::EntryT entrypoint_cxx = + reinterpret_cast(dylib.fEntrypoint); if (!entrypoint_cxx) { kStdOut; diff --git a/src/CommandLine/pef-amd64-necdrv.cc b/src/CommandLine/pef-amd64-necdrv.cc index 921c674..c8d8dbe 100644 --- a/src/CommandLine/pef-amd64-necdrv.cc +++ b/src/CommandLine/pef-amd64-necdrv.cc @@ -20,11 +20,11 @@ static auto kPath = "/usr/lib/libCompilerKit.so"; static auto kSymbol = "CompilerNectarAMD64"; Int32 main(Int32 argc, Char const* argv[]) { - CompilerKit::DLLLoader dylib; + CompilerKit::ModuleLoader dylib; dylib(kPath, kSymbol); - CompilerKit::DLLLoader::EntryT entrypoint_cxx = - reinterpret_cast(dylib.fEntrypoint); + CompilerKit::ModuleLoader::EntryT entrypoint_cxx = + reinterpret_cast(dylib.fEntrypoint); if (!entrypoint_cxx) { kStdOut; -- cgit v1.2.3