swig/Lib/javascript/jsc
Eric Wing e7b20624cc JavaScriptCore: Reverted 2 of the JSValueMakeUndefined replacements because those functions are tied to JSObjectRef instead of JSValueRef. The C compiler will allow this, but C++ will reject the conversion.
It is unclear what the correct handling is for JavaScriptCore. (Nobody bothers to document this in JSCore.) Unlike our other problem where we incorrectly assume JSObjectRef when the functions want JSValueRef, this time Apple is demanding the JSObjectRef. Like our other problem, I assume it is unsafe to try to convert Undefined into a JSObjectRef.

So reverting to NULL seems like the safer bet for this specific case. Perhaps the other alternative is to return an exception object or an error object. But I would like to see JSCore document this before trying.
2014-05-26 22:35:27 +02:00
..
arrays_javascript.i Typemap for natural support for arrays 2013-09-03 13:58:09 +02:00
ccomplex.i Add swig configuration files for v8. 2012-09-08 00:57:42 +00:00
cdata.i Add cdata.i typemaps. 2013-09-16 04:12:06 +02:00
complex.i Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel 2012-09-08 00:56:48 +00:00
exception.i Some fixes for the Javascript generator. 2013-09-09 22:25:51 +03:00
javascript.swg Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel 2012-09-08 00:56:48 +00:00
javascriptcode.swg JavaScriptCore: Reverted 2 of the JSValueMakeUndefined replacements because those functions are tied to JSObjectRef instead of JSValueRef. The C compiler will allow this, but C++ will reject the conversion. 2014-05-26 22:35:27 +02:00
javascriptcomplex.swg Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel 2012-09-08 00:56:48 +00:00
javascriptfragments.swg Clean up in javascripttypemaps.swg. 2013-09-09 17:34:53 +03:00
javascripthelpers.swg JavaScript: Added missing static modifiers to avoid duplicate symbol problems with multiple SWIG modules. 2014-05-18 21:27:53 +02:00
javascriptinit.swg Rearrange generation of init block to have custom init code within the initializer body. 2013-09-16 03:53:00 +02:00
javascriptkw.swg Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel 2012-09-08 00:56:48 +00:00
javascriptprimtypes.swg Fix typemap declarations for (unsigned) long long. 2013-09-16 01:23:03 +02:00
javascriptrun.swg JavaScriptCore: Fixed exception object so sourceURL (file name), line (number), and message can be recovered. 2014-05-26 22:35:27 +02:00
javascriptruntime.swg Add support for PackedData to Javascript generator. 2013-09-10 11:53:12 +03:00
javascriptstrings.swg Javascript warnings for c++98 - remove vla 2014-05-24 14:13:24 +01:00
javascripttypemaps.swg Add support for IN/OUTPUT typemaps. 2013-09-16 00:55:43 +02:00
std_common.i Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
std_complex.i Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel 2012-09-08 00:56:48 +00:00
std_deque.i Add stub std_deque.i files. 2013-09-24 03:56:19 +02:00
std_except.i Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel 2012-09-08 00:56:48 +00:00
std_map.i Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
std_pair.i Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
std_string.i Javascript: fix warnings in li_std_string test. 2014-05-18 22:40:22 +02:00
std_vector.i Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
stl.i Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
typemaps.i Add support for IN/OUTPUT typemaps. 2013-09-16 00:55:43 +02:00