Skip to content

Commit

Permalink
Merge pull request #28 from whoozle/devel
Browse files Browse the repository at this point in the history
fixed newer v8 compilation
  • Loading branch information
oliver7654 committed Sep 15, 2013
2 parents acfed20 + 325b544 commit 018847b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/javascript/v8/javascriptrun.swg
Expand Up @@ -392,14 +392,14 @@ void _wrap_SwigV8PackedData_delete(v8::Persistent< v8::Value > object, void *par
{
SwigV8PackedData *cdata = static_cast<SwigV8PackedData *>(parameter);
#else
void _wrap_SwigV8PackedData_delete(v8::Isolate *isolate, v8::Persistent< v8::Object > * object, SwigV8PackedData *proxy)
void _wrap_SwigV8PackedData_delete(v8::Isolate *isolate, v8::Persistent< v8::Object > * object, SwigV8PackedData *cdata)
{
#endif

delete cdata;

object.Clear();
#if (SWIG_V8_VERSION < 0x031900)
object.Clear();
object.Dispose();
#elif (SWIG_V8_VERSION < 0x032100)
object->Dispose(isolate);
Expand Down

0 comments on commit 018847b

Please sign in to comment.