This commit is contained in:
Matthew 2025-08-15 07:12:38 +10:00
parent 209b78bc1a
commit 0f204cb3da

View File

@ -153,6 +153,7 @@ Push(T)(SLList!(T)*list, Node!(T)* node, Node!(T)* nil)
} }
} }
pragma(inline): void
PushFront(T)(SLList!(T)*list, Node!(T)* node, Node!(T)* nil) PushFront(T)(SLList!(T)*list, Node!(T)* node, Node!(T)* nil)
{ {
if (CheckNil(nil, list.first)) if (CheckNil(nil, list.first))