Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>fg_assert</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
fg_assert

Usage


   #include <fg.h>
   void far fg_assert(char far *string_p, char far *file_p,
                      unsigned int line);

Description

   fg_assert is called when a program bug is detected (debug library only)
   such as a coordinate that is out of range and was not clipped. The
   default function prints an error message to stderr and then exits to the
   operating system.

   The programmer can provide their own replacement for this function. If
   this is done, it should print out the message pointed to by string_p, the
   source file name at file_p and the source file line number line. It must
   not return, it is strongly suggested that it exit the program.





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson