0ad/source/lib/sysdep/win/wdbg.h
janwas 836cd08d5e # add CppDoc file header to all files, along with their descriptions.
also:
- renamed wdll to delay_load, and wdll_ver to dll_ver
- removed empty wcpu

This was SVN commit r3751.
2006-04-11 23:59:08 +00:00

44 lines
1.1 KiB
C
Executable File

/**
* =========================================================================
* File : wdbg.h
* Project : 0 A.D.
* Description : Win32 debug support code and exception handler.
*
* @author Jan.Wassenberg@stud.uni-karlsruhe.de
* =========================================================================
*/
/*
* Copyright (c) 2002-2005 Jan Wassenberg
*
* Redistribution and/or modification are also permitted under the
* terms of the GNU General Public License as published by the
* Free Software Foundation (version 2 or later, at your option).
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef WDBG_H__
#define WDBG_H__
#ifdef __cplusplus
extern "C" {
#endif
#if HAVE_MS_ASM
# define debug_break() __asm { int 3 }
#else
# error "port this or define to implementation function"
#endif
// internal use only:
extern void wdbg_set_thread_name(const char* name);
#ifdef __cplusplus
}
#endif
#endif // #ifndef WDBG_H__