Oliver Buchtala
11963788e0
Javascript: support null pointers.
...
We allow to set pointer types using JS null.
2014-05-19 00:21:21 +02:00
Eric Wing
05ed0325dc
JavaScriptCore: ConvertPtr should allow JavaScript null to be a valid value.
...
It is common in C to accept NULL to functions for pointer parameters.
extern void DoSomething(struct Foo* foo);
...
DoSomething(NULL);
Thus, JavaScript null should be allowed:
module.DoSomething(null);
But the current ConvertPtr definition accepts only objects. This modifies it to allow null.
2014-05-18 21:27:54 +02:00
Eric Wing
8498e4878d
JavaScriptCore: More missing static modifiers.
2014-05-18 21:27:54 +02:00
Eric Wing
fade0bcbde
JavaScriptCore: C89: declare variables at the top for antiquated compilers like Microsoft Visual Studio.
2014-05-18 21:27:54 +02:00
Eric Wing
486e903de1
JavaScriptCore: Bug fix for SWIGJSC_AppendOutput. This function requires a return value. I think it should be arr, but somebody should scrutinize this.
2014-05-18 21:27:54 +02:00
Oliver Buchtala
eb9523b5ca
Add missing macros.
2013-09-16 04:12:55 +02:00
Oliver Buchtala
bb7bd50eab
Add support for IN/OUTPUT typemaps.
2013-09-16 00:55:43 +02:00
Oliver Buchtala
001f38c6a9
Fix settings for building nodejs tests.
...
Removed the `-node` command line flag.
Instead one has to use `-v8 -DBUILDING_NODE_EXTENSION=1`.
2013-09-10 13:29:16 +03:00
Oliver Buchtala
be35d94fdb
Add support for PackedData to Javascript generator.
2013-09-10 11:53:12 +03:00