home *** CD-ROM | disk | FTP | other *** search
- /*
- #### # # # #
- # # # # # The FreeWare C library for
- # # ## ### # # # # ### RISC OS machines
- # # # # # # # # # # # ___________________________________
- # # #### ### ## # # # #
- # # # # # # # # # # Please refer to the accompanying
- #### ### #### # # ##### # ### documentation for conditions of use
- ________________________________________________________________________
-
- File: Core.h
- Author: Copyright © 1992 Jason Williams
- Version: 1.00 (12 Mar 1992)
- Purpose: Core definitions used by most of DeskLib
- */
-
-
- #ifndef __dl_core_h
- #define __dl_core_h
-
-
- /* --- Boolean values */
- #ifndef BOOL
- #define BOOL int
-
- #define FALSE 0
- #define TRUE 1
-
- #define ERROR 1
- #define NOERROR 0
- #endif
-
-
- /* --- NULL */
- #ifndef NULL
- #define NULL 0
- #endif
-
- /* Operating system errors (== _kernel_oserror) */
- typedef struct {
- int errnum;
- char errmess[252];
- } os_error;
-
-
- #endif
-