home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / crt / src / purevirt.c < prev    next >
C/C++ Source or Header  |  1998-06-17  |  655b  |  38 lines

  1. /***
  2. *purevirt.c - stub to trap pure virtual function calls
  3. *
  4. *       Copyright (c) 1992-1997, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. *       defines _purecall() -
  8. *
  9. *******************************************************************************/
  10.  
  11.  
  12. #include <cruntime.h>
  13. #include <internal.h>
  14. #include <rterr.h>
  15.  
  16. /***
  17. *void _purecall(void) -
  18. *
  19. *Purpose:
  20. *
  21. *Entry:
  22. *       No arguments
  23. *
  24. *Exit:
  25. *       Never returns
  26. *
  27. *Exceptions:
  28. *
  29. *******************************************************************************/
  30.  
  31. void __cdecl _purecall(
  32.         void
  33.         )
  34. {
  35.         _amsg_exit(_RT_PUREVIRT);
  36. }
  37.  
  38.