|
BB2 C port
API reference: Blitz libraries in C and the shared code
|
#include "blitzlib.h"Macros | |
| #define | FILL(src) |
Functions | |
| void | _fillarray (void) |
| FillArray array(),value: every element of a byte, word or long array set to value. | |
| void | _fillarray2 (void) |
| FillArray array(): every element of a byte, word or long array 0. | |
| static void | _libinit (void) |
| init: nothing (RTS). | |
| static void | _libfinit (void) |
| finit: nothing (RTS). | |
| #define FILL | ( | src | ) |
| void _fillarray | ( | void | ) |
FillArray array(),value: every element of a byte, word or long array set to value.
Inline as FillArray array(), with the value from d1 (its low byte or word for byte and word arrays); nothing for an array without elements (Fixed (#882)). Parameters: d0 = the first element, d1 = the value; the a2 stack as above. Result: nothing.
| void _fillarray2 | ( | void | ) |
FillArray array(): every element of a byte, word or long array 0.
Inline (Dc $a000). MOVE.l/.w/.b #0 (not CLR, which reads first on the 68000). Other types do nothing, and so does an array without elements (Fixed (#882): the original's loop stored first and compared after, so it ran on through memory). Parameters: d0 = the first element; on the a2 stack the type word and, on top, the address behind the last element (both popped). Result: nothing.
|
static |
finit: nothing (RTS).
|
static |
init: nothing (RTS).