home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / i_l / irit5 / misc_lib / irit_wrn.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-31  |  1.5 KB  |  28 lines

  1. /*****************************************************************************
  2. * Default warning error handler for irit.                     *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 0.2, April 1993  *
  5. *****************************************************************************/
  6.  
  7. #include <stdio.h>
  8. #include "irit_sm.h"
  9.  
  10. /*****************************************************************************
  11. * DESCRIPTION:                                                               M
  12. * Default trap for IRIT programs for irit warning errors.             M
  13. *   This function just prints the given error message.                 M
  14. *                                                                            *
  15. * PARAMETERS:                                                                M
  16. *   Msg:       Error message to print.                                       M
  17. *                                                                            *
  18. * RETURN VALUE:                                                              M
  19. *   void                                                                     M
  20. *                                                                            *
  21. * KEYWORDS:                                                                  M
  22. *   IritWarningError, error trap                                             M
  23. *****************************************************************************/
  24. void IritWarningError(char *Msg)
  25. {
  26.     fprintf(stderr, "Irit Warning: %s\n", Msg);
  27. }
  28.