1
0
forked from 0ad/0ad
0ad/source/scripting
Ykkrosh fba692c8b5 # Fixed some warnings and potentially misleading code
* Removed ToJSVal<jsval> because it's treated as ToJSVal<long> and
causes minor confusion and/or compiler errors.
   Changed script interface functions to return either C++ types or a
jsval_t wrapper.
 * Replaced some C casts with static_cast to avoid significant confusion
and to cause compiler errors instead.
 * Removed some redundant argument-checking code. Simplified some
string-generating code.
 * Fixed some "dereferencing type-punned pointer will break
strict-aliasing rules" warnings (from `g++ -O3`).

This was SVN commit r5115.
2007-05-29 19:01:21 +00:00
..
DOMEvent.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
DOMEvent.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
EventTypes.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
GameEvents.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
JSConversions.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
JSConversions.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
JSSerialization.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
JSUtil.cpp # housekeeping 2006-07-26 13:10:13 +00:00
JSUtil.h # housekeeping 2006-07-26 13:10:13 +00:00
ScriptableComplex.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
ScriptableComplex.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ScriptableComplex.inl Fixed a few issues for Linux build: 2007-04-25 03:10:56 +00:00
ScriptableObject.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
ScriptableObject.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
ScriptCustomTypes.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
ScriptCustomTypes.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
ScriptGlue.cpp # SwEng 2007-05-02 12:07:08 +00:00
ScriptGlue.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ScriptingHost.cpp # Slightly tidied up string code. 2007-02-01 14:46:14 +00:00
ScriptingHost.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
SpiderMonkey.h # housekeeping 2006-07-26 13:10:13 +00:00
SynchedJSObject.cpp Bug fixes and more game setup options. 2006-10-08 17:39:46 +00:00
SynchedJSObject.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00