pmed / v8pp

Bind C++ functions and classes into V8 JavaScript engine
http://pmed.github.io/v8pp/
Other
898 stars 120 forks source link

Allow .inherit() to work with classes without ctor() #55

Closed tim-janik closed 7 years ago

tim-janik commented 7 years ago

Adding .inherit() changes the js_function_template() inheritance, which only has an effect on wrapped classes if class_function_template() inherits js_function_template() regardless of the presence of ctor.

Signed-off-by: Tim Janik timj@gnu.org