warzone2100/lib/framework
Giel van Schijndel fbec26f8e1 Improve compile time code checking:
* Use a version of STATIC_ASSERT that can be used as part of expressions
  - Taken from the Linux kernel (<linux/kernel.h>)
 * Add macro WZ_ASSERT_ARRAY which (statically) asserts that the given variable is an array
  - the given array needs to have a compile-time defined size
  - pointers will fail this assertion
 * Verify that the expression given to ARRAY_SIZE is truly an array
  - verify this using WZ_ASSERT_ARRAY_EXPR
 * Catch & fix two coding errors resulting from wrong use of some macros
  - macros: sstrcpy and ARRAY_SIZE

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8654 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 17:12:54 +01:00
..
Makefile.am As was discussed on the ML, removing SQL from trunk. 2009-11-22 16:19:50 +01:00
SDL_framerate.c Basic buildfile support for ICC and silence one warning. 2007-10-02 21:43:43 +00:00
SDL_framerate.h Do parts of the proposed changes in "[Warzone-dev] build issues in FreeBSD system" by Yaroslav Kolomiyets from 24.10.2006: 2007-11-24 11:49:51 +00:00
config-macosx.h Fix compilation of SQLite under OS X. Stats are still broken. 2009-03-01 13:06:59 +00:00
configfile.c Major cleanup of configfile.[ch]: 2009-04-19 23:45:24 +02:00
configfile.h Major cleanup of configfile.[ch]: 2009-04-19 23:45:24 +02:00
cursors.c Bump copyright 2009-02-10 18:01:48 +00:00
cursors.h Bump copyright 2009-02-10 18:01:48 +00:00
cursors16.c Please use setDroidActionTarget() whenever you change psActionTarget. This helps set dangling pointer debugging information. 2009-05-06 22:29:32 +02:00
cursors32.c Please use setDroidActionTarget() whenever you change psActionTarget. This helps set dangling pointer debugging information. 2009-05-06 22:29:32 +02:00
debug.c Fix a out-of-order list 2009-11-28 19:34:15 +01:00
debug.h Improve compile time code checking: 2010-01-30 17:12:54 +01:00
endian_hack.h Bump copyright 2009-02-10 18:01:48 +00:00
file.h Bump copyright 2009-02-10 18:01:48 +00:00
fixedpoint.h Bump copyright 2009-02-10 18:01:48 +00:00
frame.c Hardware-accelerated cursors work correctly in Mac OS X now. 2010-01-30 17:12:49 +01:00
frame.h Use "struct timeval" from winsock2.h instead of our own 2009-05-06 22:29:35 +02:00
frameint.h Add support for Full Screen Anti-Aliasing (FSAA): 2009-04-18 17:08:19 +02:00
frameresource.c Improve compile time code checking: 2010-01-30 17:12:54 +01:00
frameresource.h As was discussed on the ML, removing SQL from trunk. 2009-11-22 16:19:50 +01:00
framework.vcproj As was discussed on the ML, removing SQL from trunk. 2009-11-22 16:19:50 +01:00
gettext.h Port r3878 and r3879 from trunk/ 2008-03-01 13:04:16 +00:00
i18n.c Compare locale names before claiming they differ 2009-11-22 16:19:48 +01:00
i18n.h Bump copyright 2009-02-10 18:01:48 +00:00
input.c Fix a strange issue on some laptops, that have mapped their numpad enter key to the normal "return/enter" key. 2009-11-28 19:34:14 +01:00
input.h Bump copyright 2009-02-10 18:01:48 +00:00
lexer_input.c Make it possible for the lexers to use data from an STDIO FILE* stream 2009-04-18 15:37:53 +02:00
lexer_input.h In lexer_input.h #include <stdio.h> for FILE* 2009-04-18 22:39:52 +02:00
listmacs.h Bump copyright 2009-02-10 18:01:48 +00:00
macros.h Improve compile time code checking: 2010-01-30 17:12:54 +01:00
makefile.win32 As was discussed on the ML, removing SQL from trunk. 2009-11-22 16:19:50 +01:00
math_ext.h Remove unnecessary SDL includes. 2009-05-06 22:29:29 +02:00
physfs_ext.h Add new utility function PHYSFS_printf() to easily write text files with PhysicsFS. 2009-06-09 23:44:28 +02:00
resly.h Bump copyright 2009-02-10 18:01:48 +00:00
resource_lexer.l As was discussed on the ML, removing SQL from trunk. 2009-11-22 16:19:50 +01:00
resource_parser.y As was discussed on the ML, removing SQL from trunk. 2009-11-22 16:19:50 +01:00
stdio_ext.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
stdio_ext.h Change SDL types to stdint.h defined types. Do not depend on SDL.h included system headers. 2009-05-06 22:29:30 +02:00
string_ext.h Fix strlcpy() & strlcat() to use ASSERT_OR_RETURN 2009-05-28 09:59:21 +02:00
strres.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
strres.h Bump copyright 2009-02-10 18:01:48 +00:00
strres_lexer.l Bump copyright 2009-02-10 18:01:48 +00:00
strres_parser.y Bump copyright 2009-02-10 18:01:48 +00:00
strresly.h Bump copyright 2009-02-10 18:01:48 +00:00
tagfile.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
tagfile.h Enforce strict function prototypes for autoconf builds, and fix function prototype problems. 2008-04-05 15:34:55 +00:00
treap.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
treap.h Bump copyright 2009-02-10 18:01:48 +00:00
trig.c Bump copyright 2009-02-10 18:01:48 +00:00
trig.h Bump copyright 2009-02-10 18:01:48 +00:00
types.h Fixes compile issue that was broken in r7237. 2009-05-06 22:29:30 +02:00
utf.c Revert accidentilly committed revisions r7394, r7395 and r7396 (part of a private branch) 2009-05-15 22:29:31 +02:00
utf.h Revert accidentilly committed revisions r7394, r7395 and r7396 (part of a private branch) 2009-05-15 22:29:31 +02:00
vector.h Safen includes 2009-02-11 12:12:00 +00:00
wzglobal.h Improve compile time code checking: 2010-01-30 17:12:54 +01:00