Commit graph

57 commits

Author SHA1 Message Date
761c019407
fix length difference
now making a queue with size n will actually let you store n elements in
it instead of n-1
2024-03-10 14:13:04 +01:00
df960e552c
queue.size -> queue.length 2024-03-10 14:06:03 +01:00
8ef8ad7ddb
fifo -> queue 2024-03-10 14:03:59 +01:00
a877419d69
add queue_free and return a copy of the data to the user 2024-03-10 12:47:38 +01:00
dc368f088a
fix writing to the queue using the same value
the fix was to memcpy the passed pointer to a local one and it works :-)
2024-03-10 01:16:13 +01:00
e58facd03e
whoops 2024-03-10 01:00:49 +01:00
15934c4708
init 2024-03-10 00:45:57 +01:00