diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-11 13:25:12 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-11 13:25:12 +0100 |
| commit | 37b8e34dc54f572fbfbd135742fa11c21c5e67c1 (patch) | |
| tree | 94a017be79eb83306ecc6c7ca2455a7e3e242b56 /include/CompilerKit/CodeGenerator.h | |
| parent | 30a7184205b0cbf2dfc49ed3a52543219008dc32 (diff) | |
chore! breaking changes in NeCTI API.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/CodeGenerator.h')
| -rw-r--r-- | include/CompilerKit/CodeGenerator.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 <CompilerKit/Detail/Config.h> #include <CompilerKit/Macros.h> + +#include <CompilerKit/ErrorOr.h> +#include <CompilerKit/Ref.h> + #include <cstring> #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<IAssembly> mountPtr) noexcept; + WeakRef<IAssembly> Unmount() noexcept; private: IAssembly* fMounted{nullptr}; |
