home *** CD-ROM | disk | FTP | other *** search
- #ifndef fpemulator_H
- #define fpemulator_H
-
- /* C header file for FPEmulator
- * written by DefMod (Sep 7 1994) on Wed Sep 7 21:23:34 1994
- * Copyright © Acorn Computers Ltd, 1994
- */
-
- /*************************************************************************
- * This source file was written by Acorn Computers Limited. It is part *
- * of the OSLib library for writing applications for RISC OS. It may be *
- * used freely in the creation of programs for RISC OS. *
- *************************************************************************/
-
- #ifndef types_H
- #include "types.h"
- #endif
-
- #ifndef os_H
- #include "os.h"
- #endif
-
- /**********************************
- * SWI names and SWI reason codes *
- **********************************/
- #undef FPEmulator_Version
- #define FPEmulator_Version 0x40480
- #undef XFPEmulator_Version
- #define XFPEmulator_Version 0x60480
-
- /*************************
- * Function declarations *
- *************************/
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /*************************************************************
- * NOTE: The following functions provide direct access to *
- * the SWI's noted in the function description. *
- * Please read the relevant PRM section for more *
- * information on their input/output parameters. *
- *************************************************************/
-
- /* ------------------------------------------------------------------------
- * Function: fpemulator_version()
- *
- * Description: Returns the version number of the Floating Point Emulator
- *
- * Output: version - value of R0 on exit (X version only)
- *
- * Returns: R0 (non-X version only)
- *
- * Other notes: Calls SWI 0x40480.
- */
-
- extern os_error *xfpemulator_version (int *version);
- extern int fpemulator_version (void);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-