Swi++
Swi++ is a C++ reimplementation of the _swi and _swix functions
from the RISC OS C libraries. It is in the form of a C++ header
file generated by a Perl program, which uses some GNU extensions to
C++.
Advantages
- The SWI instructions are inlined when compiling with
optimisation.
- Pointer-like classes (eg smart pointers, iterators) can be used
to return values from SWIs.
- Limited compile time type checking.
- The design is portable to other processors.
Disadvantages
- Requires GNU C++
- Produces bloated code if compiled without optimisation.
Download here
Timothy
Baldwin