mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
e2e7c63c10
Courtesy Bill Gibbons <bill@gibbons.org> His comments: Here are the changes to JSRef to make it compile either as C or C++. Mostly the changes are to add missing casts (since C++ doesn't have implict conversion from void* to other pointer types nor implicit casts from ints to enumerations) plus a few random things like the use of "private" as a variable name. There are a few other minor bug fixes; in particular: * A long statement with and'ed conditions is reformatted to make it easier to remove other builtin objects (e.g. Date). * A #if was added to jsscript.c for the JS_HAS_SCRIPT_OBJECT off case. * In jsmath a #ifdef was changed to #if. My notes also mention... * jsobj.c should include jsopcode.h * jsfun.c - doesn't link if JS_HAS_ARGS_OBJECT is off * jsarray.c - a reference to js_ValueToSource should be conditional on JS_HAS_TOSOURCE r=mccabe |
||
---|---|---|
.. | ||
benchmarks | ||
js2 | ||
jsd | ||
jsdj | ||
jsj | ||
macbuild | ||
ref | ||
rhino | ||
semantics | ||
src | ||
tests | ||
.cvsignore | ||
landbranch.pl | ||
Makefile.in | ||
makefile.win |