From 2cf7d5b2cb661ab905bbd8e37f2c10be1d00908f Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 19 Dec 2007 20:45:46 +0000 Subject: (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. --- src/window_type.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/window_type.h') diff --git a/src/window_type.h b/src/window_type.h index bc8ee42b7..9ff8997d5 100644 --- a/src/window_type.h +++ b/src/window_type.h @@ -93,6 +93,14 @@ enum WindowClass { }; struct Window; +struct WindowEvent; typedef int32 WindowNumber; +/** + * You cannot 100% reliably calculate the biggest custom struct as + * the number of pointers in it and alignment will have a huge impact. + * 96 is the largest window-size for 64-bit machines currently. + */ +#define WINDOW_CUSTOM_SIZE 96 + #endif /* WINDOW_TYPE_H */ -- cgit v1.2.3-54-g00ecf