summaryrefslogtreecommitdiffhomepage
path: root/include/GenericsLibrary/iterator.nhh
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-23 00:42:27 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-23 00:42:27 +0100
commit1b90b46dd64b1441258a3bccbb4c85749144dab3 (patch)
tree6bf00cbde6918bb0af22ba6df1dbc4d53aaf742b /include/GenericsLibrary/iterator.nhh
parent9ee6ece95bc126cb48bb1ede0d37ccbbefc0295d (diff)
feat: compiler: use `.nc` extension for Nectar sources--and `.nhh` for
nectar modules. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/GenericsLibrary/iterator.nhh')
-rw-r--r--include/GenericsLibrary/iterator.nhh14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/GenericsLibrary/iterator.nhh b/include/GenericsLibrary/iterator.nhh
index 3e6c723..0812861 100644
--- a/include/GenericsLibrary/iterator.nhh
+++ b/include/GenericsLibrary/iterator.nhh
@@ -3,13 +3,13 @@
// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
// Official repository: https://github.com/nekernel-org/nectar
-#ifndef NECTAR_LIBNECTAR_ITERATOR_NHH
-#define NECTAR_LIBNECTAR_ITERATOR_NHH
+#ifndef NECTAR_GL_ITERATOR_NHH
+#define NECTAR_GL_ITERATOR_NHH
-// Rules for iterator implementation:
-// - _begin is the starting point of the iterator.
-// - _end is the number of elements to iterate over.
-// - _size is the total size of the collection.
+//@ Rules for iterator implementation:
+//@ - _begin is the starting point of the iterator.
+//@ - _end is the number of elements to iterate over.
+//@ - _size is the total size of the collection.
trait iterator_traits
{
let _begin := 0;
@@ -53,4 +53,4 @@ impl iterator : iterator_traits
}
};
-#endif // NECTAR_LIBNECTAR_ITERATOR_NHH \ No newline at end of file
+#endif // NECTAR_GL_ITERATOR_NHH \ No newline at end of file