summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/CompilerKit/Utilities/DLL.h2
-rw-r--r--include/GenericsLibrary/fstream.nhh3
-rw-r--r--include/GenericsLibrary/io.nhh16
3 files changed, 19 insertions, 2 deletions
diff --git a/include/CompilerKit/Utilities/DLL.h b/include/CompilerKit/Utilities/DLL.h
index f57ec4f..26eacea 100644
--- a/include/CompilerKit/Utilities/DLL.h
+++ b/include/CompilerKit/Utilities/DLL.h
@@ -70,7 +70,7 @@ class ModuleLoader final {
};
using StrongDLLRef = StrongRef<ModuleLoader>;
-using WeakDLLRef = WeakRef<ModuleLoader>;
+using WeakDLLRef = WeakRef<ModuleLoader>;
#else
#error No ModuleLoader defined.
#endif
diff --git a/include/GenericsLibrary/fstream.nhh b/include/GenericsLibrary/fstream.nhh
index b7a0a2e..5c6b0d4 100644
--- a/include/GenericsLibrary/fstream.nhh
+++ b/include/GenericsLibrary/fstream.nhh
@@ -18,6 +18,7 @@ trait fstream_traits
let fd_ := 0;
};
+//@ Implementation of fstream traits.
impl fstream : fstream_traits
{
let init()
@@ -45,4 +46,4 @@ impl fstream : fstream_traits
}
};
-#endif //@ NECTAR_GL_FSTREAM_NHH \ No newline at end of file
+#endif //@ NECTAR_GL_FSTREAM_NHH
diff --git a/include/GenericsLibrary/io.nhh b/include/GenericsLibrary/io.nhh
new file mode 100644
index 0000000..d99ae83
--- /dev/null
+++ b/include/GenericsLibrary/io.nhh
@@ -0,0 +1,16 @@
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
+
+#ifndef NECTAR_GL_IO_NHH
+#define NECTAR_GL_IO_NHH
+
+import printf;
+
+const writefn(let fmt, let args)
+{
+ printf(fmt, {args});
+}
+
+#endif