janwas
78d950e419
win_internal -> win.h (pulls in <windows.h>, with fixes afterwards) remove empty waio_internal and wsysdep Move source/sound license notice into source/sound/license.txt This was SVN commit r5044.
22 lines
700 B
C
22 lines
700 B
C
/**
|
|
* =========================================================================
|
|
* File : handle.h
|
|
* Project : 0 A.D.
|
|
* Description : forward declaration of Handle (reduces dependencies)
|
|
* =========================================================================
|
|
*/
|
|
|
|
// license: GPL; see lib/license.txt
|
|
|
|
#ifndef INCLUDED_HANDLE
|
|
#define INCLUDED_HANDLE
|
|
|
|
// 0 = invalid handle value; < 0 is an error code.
|
|
// 64 bits, because we want tags to remain unique: tag overflow may
|
|
// let handle use errors slip through, or worse, cause spurious errors.
|
|
// with 32 bits, we'd need >= 12 for the index, leaving < 512K tags -
|
|
// not a lot.
|
|
typedef i64 Handle;
|
|
|
|
#endif // #ifndef INCLUDED_HANDLE
|