scummvm/sound/softsynth/mt32
Max Horn 44393b2dc8 ALL: Add code to help stop people from accidentally using "bad" APIs
A new header file common/forbidden.h is included by scummsys.h and it
re-#defines numerous symbols like fopen(), fread(), system(), etc. with
garbage, in order to provoke compile errors in any code using them.

If a .cpp file really *must* use any of these (e.g. because it is a
backend file), then these redefinitions can be disabled by #defining
FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever
this is done, an explanatory comment should be added.

Note that this system cannot catch all "bad" usages (notably the Lua
code in the sword25 engine), as it can only work if scummsys.h is
included.

svn-id: r53961
2010-10-30 21:27:42 +00:00
..
freeverb.cpp Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated. 2007-09-19 08:40:12 +00:00
freeverb.h Fixed compiling of MT32 emulator with -O2 and -Werror. 2008-11-13 11:41:25 +00:00
i386.cpp Fix bug #1221549 "MT32emu: doesn't compile under gcc 3.4.2 / i386" 2005-10-18 04:26:51 +00:00
i386.h Merged with latest Munt CVS. 2005-03-20 16:24:55 +00:00
module.mk Removed trailing spaces. 2008-01-27 19:47:41 +00:00
mt32_file.cpp ALL: Add code to help stop people from accidentally using "bad" APIs 2010-10-30 21:27:42 +00:00
mt32_file.h ALL: Add code to help stop people from accidentally using "bad" APIs 2010-10-30 21:27:42 +00:00
mt32emu.h typo 2008-05-24 14:44:22 +00:00
part.cpp vc compile warn 2005-04-16 17:05:14 +00:00
part.h Remove trailing whitespaces. 2005-07-30 21:11:48 +00:00
partial.cpp Fix typo, which made our "floorf" macro use "floorf" instead of "floor" on systems without "floorf". 2009-07-29 20:03:46 +00:00
partial.h Merged with latest Munt CVS. 2005-03-20 16:24:55 +00:00
partialManager.cpp - Small changes to sync with Munt. 2005-07-03 22:56:51 +00:00
partialManager.h Merged with latest Munt CVS. 2005-03-20 16:24:55 +00:00
structures.h Removed trailing spaces. 2008-01-27 19:47:41 +00:00
synth.cpp Replace various strncpy usages by strlcpy. 2010-05-05 17:54:12 +00:00
synth.h - Added GCC_PRINTF attribute to several funcs where it makes sense 2009-07-01 20:51:04 +00:00
tables.cpp MT32: Remove useless cast. 2010-10-29 00:40:57 +00:00
tables.h Fix doxygen message 2005-05-09 12:26:07 +00:00