![]() FooConstructor::construct() is no longer a dummy but now generates either code to throw an exception (for interfaces without constructor) or code to construct the wrapper and its impl object. Constructor overloads are not currenly handled, but that's not something we need right now anyway. Instead of regular create() this uses a new static function create_with_global_object() and passes the WindowObject, which may be needed - e.g. for XMLHttpRequest, which has an IDL and JavaScript constructor with no arguments, but needs a DOM::Window in its create(). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Generate_CSS_PropertyID_cpp.cpp | ||
Generate_CSS_PropertyID_h.cpp | ||
Generate_CSS_ValueID_cpp.cpp | ||
Generate_CSS_ValueID_h.cpp | ||
WrapperGenerator.cpp |