1
1
forked from 0ad/0ad
0ad/source/i18n
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
..
tests2 remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
BufferVariable.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
BufferVariable.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
CLocale.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
CLocale.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Common.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
DataTypes.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Interface.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
Interface.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ScriptInterface.cpp # housekeeping 2006-07-26 13:10:13 +00:00
ScriptInterface.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
StrImmutable.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
StringBuffer.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
StringBuffer.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
TranslatedString.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
TranslatedString.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
TSComponent.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
TSComponent.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00