|
Simple Graphics Library 1.0.0.0
Runtime-independent image processing primitives
|
Runtime-independent byte copy and fill functions. More...
Functions | |
| void * | sgl_memcpy (void *destination, const void *source, sgl_size_t size) |
| Copies bytes between non-overlapping memory ranges. | |
| void * | sgl_memset (void *destination, sgl_int32_t value, sgl_size_t size) |
| Fills a memory range with one byte value. | |
Runtime-independent byte copy and fill functions.
| void * sgl_memcpy | ( | void * | destination, |
| const void * | source, | ||
| sgl_size_t | size | ||
| ) |
Copies bytes between non-overlapping memory ranges.
| [out] | destination | Writable range containing at least size bytes. |
| [in] | source | Readable range containing at least size bytes. |
| [in] | size | Number of bytes to copy. |
destination. | void * sgl_memset | ( | void * | destination, |
| sgl_int32_t | value, | ||
| sgl_size_t | size | ||
| ) |
Fills a memory range with one byte value.
| [out] | destination | Writable range containing at least size bytes. |
| [in] | value | Value whose low eight bits are stored in each byte. |
| [in] | size | Number of bytes to set. |
destination.