oliver----/swig-v8 — pull request #37 by lefticus (2014-03-10 19:34:32+00:00)
Title: Fix function naming conflict with class overloads.

This fix takes into account the classname while generating overload
handlers.

Example:

If you have two classes:

class A {
public:
void doSomething(int);
void doSomething(double);
};

class B {
public:
void doSomething(int);
void doSomething(double);
};

Before this patch, the overload handlers for A::doSomething and
B::doSomething create conflicting names and function redefinition errors
are caused.

After the patch, the overload handlers are named classname_doSomething
and no longer conflict.

This is almost certainly not the best way to implement this, but it
solves a critical problem on large projects, and specifically can affect
operator overloads that are being wrapped.