home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / desklib / !DeskLib / h / Core < prev    next >
Encoding:
Text File  |  1992-03-22  |  1.0 KB  |  47 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Core.h
  12.     Author:  Copyright © 1992 Jason Williams
  13.     Version: 1.00 (12 Mar 1992)
  14.     Purpose: Core definitions used by most of DeskLib
  15. */
  16.  
  17.  
  18. #ifndef __dl_core_h
  19. #define __dl_core_h
  20.  
  21.  
  22. /* --- Boolean values */
  23. #ifndef BOOL
  24. #define BOOL  int
  25.  
  26. #define FALSE 0
  27. #define TRUE  1
  28.  
  29. #define ERROR   1
  30. #define NOERROR 0
  31. #endif
  32.  
  33.  
  34. /* --- NULL  */
  35. #ifndef NULL
  36. #define NULL 0
  37. #endif
  38.  
  39. /* Operating system errors (== _kernel_oserror) */
  40. typedef struct {
  41.  int  errnum; 
  42.  char errmess[252]; 
  43. } os_error;
  44.  
  45.  
  46. #endif
  47.