44 lines
694 B
C
44 lines
694 B
C
|
/***
|
||
|
*purevirt.c - stub to trap pure virtual function calls
|
||
|
*
|
||
|
* Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
|
||
|
*
|
||
|
*Purpose:
|
||
|
* defines _purecall() -
|
||
|
*
|
||
|
*Revision History:
|
||
|
* 09-30-92 GJF Module created
|
||
|
* 04-06-93 SKS Replace _CRTAPI* with __cdecl
|
||
|
*
|
||
|
*******************************************************************************/
|
||
|
|
||
|
#ifndef _POSIX_
|
||
|
|
||
|
#include <cruntime.h>
|
||
|
#include <internal.h>
|
||
|
#include <rterr.h>
|
||
|
|
||
|
/***
|
||
|
*void _purecall(void) -
|
||
|
*
|
||
|
*Purpose:
|
||
|
*
|
||
|
*Entry:
|
||
|
* No arguments
|
||
|
*
|
||
|
*Exit:
|
||
|
* Never returns
|
||
|
*
|
||
|
*Exceptions:
|
||
|
*
|
||
|
*******************************************************************************/
|
||
|
|
||
|
void __cdecl _purecall(
|
||
|
void
|
||
|
)
|
||
|
{
|
||
|
_amsg_exit(_RT_PUREVIRT);
|
||
|
}
|
||
|
|
||
|
#endif
|