From 37b8e34dc54f572fbfbd135742fa11c21c5e67c1 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 11 Dec 2025 13:25:12 +0100 Subject: chore! breaking changes in NeCTI API. Signed-off-by: Amlal El Mahrouss --- include/CompilerKit/CodeGenerator.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/CompilerKit/CodeGenerator.h') diff --git a/include/CompilerKit/CodeGenerator.h b/include/CompilerKit/CodeGenerator.h index 8119c58..721743d 100644 --- a/include/CompilerKit/CodeGenerator.h +++ b/include/CompilerKit/CodeGenerator.h @@ -8,6 +8,10 @@ #include #include + +#include +#include + #include #define CK_ASSEMBLY_INTERFACE : public ::CompilerKit::IAssembly @@ -42,8 +46,8 @@ class AssemblyFactory final { Int32 Compile(STLString sourceFile, const Int32& arch) noexcept; - void Mount(IAssembly* mountPtr) noexcept; - IAssembly* Unmount() noexcept; + void Mount(WeakRef mountPtr) noexcept; + WeakRef Unmount() noexcept; private: IAssembly* fMounted{nullptr}; -- cgit v1.2.3