The main source code of the library. More...
#include "pruio.bi"
#include "pruio_pins.bi"
#include "pruio_init.bi"
#include "pruio_run.bi"
#include "pruio_exit.bi"
Go to the source code of this file.
Macros | |
#define | __PRUIO_COMPILING__ |
#define | ArrayBytes(_A_) /* (UBOUND(_A_) + 1) * SIZEOF(_A_) */ |
Driver header file. More... | |
#define | BallCheck(_T_, _R_) /* IF Ball > PRUIO_BALL_AZ THEN Errr = @"unknown" _T_ " pin number" : RETURN _R_ */ |
macro to check a CPU ball number (0 to 109 is valid range) More... | |
Functions | |
FUNCTION_CDECL_ALIAS_AS_ANY_PTR | memcpy (BYVAL_AS_ANY_PTR, BYVAL_AS_ANY_PTR, BYVAL_AS_size_t) |
Declaration for C runtime function memcpy(). More... | |
The main source code of the library.
This is the main source code of the library. You may compile it by fbc -dylib pruio.bas
to get a small library file (small, because the C wrapper functions are not included as in the original version).
Definition in file pruio.bas.
#define ArrayBytes | ( | _A_) | /* (UBOUND(_A_) + 1) * SIZEOF(_A_) */ |
#define BallCheck | ( | _T_, | |
_R_ | |||
) | /* IF Ball > PRUIO_BALL_AZ THEN Errr = @"unknown" _T_ " pin number" : RETURN _R_ */ |
FUNCTION_CDECL_ALIAS_AS_ANY_PTR memcpy | ( | BYVAL_AS_ANY_PTR | , |
BYVAL_AS_ANY_PTR | , | ||
BYVAL_AS_size_t | |||
) |
Declaration for C runtime function memcpy().