kjs static patches
Darin Adler
darin@apple.com
Fri, 24 Jan 2003 17:00:40 -0800
On Friday, January 24, 2003, at 04:53 PM, Harri Porten wrote:
> 1st patch: the hash tables. I advice to do the same in khtml/ecma via
> search&replace.
These tables are generated by create_hash_table script. You almost
certainly want to change that script and re-run it rather than patching
each file.
> 2nd patch: two local vars introduced in JavaScriptCore
In C++, something declared as "const int x = 1;" is automatically
static. You'd have to explicitly say "extern const int x = 1;"
otherwise. You don't need to add static to these declarations, although
they do no harm.
-- Darin