summaryrefslogtreecommitdiff
path: root/src/ring_buffer.c
Commit message (Collapse)AuthorAge
* build: Update c89atomicAndrew Opalach 2025-11-30
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: *_free() check consistency, C++ compatAndrew Opalach 2025-06-23
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Revert and add some style changesAndrew Opalach 2025-03-31
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Consider types and numerical limitsAndrew Opalach 2025-01-17
| | | | | | | | | | - Vastly improve tests. - Change array/str/wstr APIs. - Use ptrdiff_t instead of size_t in ring buffer. - Make random seed thread-local. - Log now uses a static thread-local buffer instead of a malloc'd buffer. Signed-off-by: Andrew Opalach <andrew@akon.city>
* Revise styleAndrew Opalach 2024-12-26
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Major cleanup and pass on readabilityAndrew Opalach 2024-12-22
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Cleanup macro usageAndrew Opalach 2024-11-26
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* atomic: New syntaxAndrew Opalach 2024-10-04
| | | | | | | | al_atomic_ptr_load() -> al_atomic_load(void)() al_atomic_u16_store() -> al_atomic_store(u16)() ... Signed-off-by: Andrew Opalach <andrew@akon.city>
* UpdateAndrew Opalach 2024-04-09
| | | | | | | | | - Separate al_str_c functions between compile-time and runtime - Remove volatile from atomics - Allow not specifying a section in the log - Cleanup Signed-off-by: Andrew Opalach <andrew@akon.city>
* Switch the order of al_array_insert args, cleanupAndrew Opalach 2024-01-27
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* Add libalabasterAndrew Opalach 2023-10-07
Signed-off-by: Andrew Opalach <andrew@akon.city>