|
QUEUE_LIB Embedded C library v1.0.0
|
Internal helper functions for the queue module (not part of public API). More...

Functions | |
| PRIVATE void | copy_bytes (uint8_t *dst, const uint8_t *src, uint16_t size) |
| Deterministic byte-wise copy of memory. More... | |
Internal helper functions for the queue module (not part of public API).
These functions are local to queue.c and not exposed in queue.h. They support deterministic byte copying and argument validation.
| PRIVATE void copy_bytes | ( | uint8_t * | dst, |
| const uint8_t * | src, | ||
| uint16_t | size | ||
| ) |
Deterministic byte-wise copy of memory.
| [out] | dst | Destination buffer (non-NULL). |
| [in] | src | Source buffer (non-NULL). |
| [in] | size | Number of bytes to copy. |
Used internally by queue_push/queue_pop to copy arbitrary elements in a deterministic, type-agnostic way.
