summaryrefslogtreecommitdiff
path: root/src/slidingwindow.h
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-08-14 16:31:44 -0700
committersteven-na <noreply.github@stvnc.dev>2026-08-14 16:31:44 -0700
commitf10afce9821a81c8dd138b84a4f1ab56116af20b (patch)
tree0233ed16ced2a3e36793ff48a2ff5384dcacf74f /src/slidingwindow.h
parentd3e8a2361f78ef505c8cae2e30faefbfae5c88e1 (diff)
Add log messages, can be disabled. Made return values more consistent
Diffstat (limited to 'src/slidingwindow.h')
-rw-r--r--src/slidingwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slidingwindow.h b/src/slidingwindow.h
index 17de775..424c11a 100644
--- a/src/slidingwindow.h
+++ b/src/slidingwindow.h
@@ -5,6 +5,7 @@
#define SLIDING_WINDOW_BASE_POS (sizeof(sliding_window_array_t))
+// Data structure that allows infinite inserts allowing access to the last 'size' elements
typedef struct {
u64 size;
u64 num_elements;