//Auto-generated by /usr/bin/smokegen. DO NOT EDIT.
#include <khtml_includes.h>

#include <smoke.h>
#include <khtml_smoke.h>

class __internal_SmokeClass {};

namespace __smokekhtml {

class x_DOM__NodeIterator : public DOM::NodeIterator {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // DOM::NodeIterator* NodeIterator()
        x_DOM__NodeIterator* xret = new x_DOM__NodeIterator();
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__NodeIterator() : NodeIterator() {}
    static void x_2(Smoke::Stack x) {
        // DOM::NodeIterator* NodeIterator(const DOM::NodeIterator&)
        x_DOM__NodeIterator* xret = new x_DOM__NodeIterator(*(const DOM::NodeIterator*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__NodeIterator(const DOM::NodeIterator& x1) : NodeIterator(x1) {}
    void x_3(Smoke::Stack x) {
        // DOM::NodeIterator& operator=(const DOM::NodeIterator&)
        DOM::NodeIterator& xret = this->DOM::NodeIterator::operator=(*(const DOM::NodeIterator*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // DOM::Node root()
        DOM::Node xret = this->DOM::NodeIterator::root();
        x[0].s_class = (void*)new DOM::Node(xret);
    }
    void x_5(Smoke::Stack x) {
        // unsigned long whatToShow()
        unsigned long xret = this->DOM::NodeIterator::whatToShow();
        x[0].s_ulong = xret;
    }
    void x_6(Smoke::Stack x) {
        // DOM::NodeFilter filter()
        DOM::NodeFilter xret = this->DOM::NodeIterator::filter();
        x[0].s_class = (void*)new DOM::NodeFilter(xret);
    }
    void x_7(Smoke::Stack x) {
        // bool expandEntityReferences()
        bool xret = this->DOM::NodeIterator::expandEntityReferences();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // DOM::Node nextNode()
        DOM::Node xret = this->DOM::NodeIterator::nextNode();
        x[0].s_class = (void*)new DOM::Node(xret);
    }
    void x_9(Smoke::Stack x) {
        // DOM::Node previousNode()
        DOM::Node xret = this->DOM::NodeIterator::previousNode();
        x[0].s_class = (void*)new DOM::Node(xret);
    }
    void x_10(Smoke::Stack x) {
        // void detach()
        this->DOM::NodeIterator::detach();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_DOM__NodeIterator*)this)->DOM::NodeIterator::isNull();
        x[0].s_bool = xret;
    }
    ~x_DOM__NodeIterator() { this->_binding->deleted(105, (void*)this); }
};
void xcall_DOM__NodeIterator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_DOM__NodeIterator *xself = (x_DOM__NodeIterator*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_DOM__NodeIterator::x_1(args);	break;
        case 2: x_DOM__NodeIterator::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: delete (DOM::NodeIterator*)xself;	break;
    }
}
class x_DOM__NodeList : public DOM::NodeList {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // DOM::NodeList* NodeList()
        x_DOM__NodeList* xret = new x_DOM__NodeList();
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__NodeList() : NodeList() {}
    static void x_2(Smoke::Stack x) {
        // DOM::NodeList* NodeList(const DOM::NodeList&)
        x_DOM__NodeList* xret = new x_DOM__NodeList(*(const DOM::NodeList*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__NodeList(const DOM::NodeList& x1) : NodeList(x1) {}
    void x_3(Smoke::Stack x) {
        // DOM::NodeList& operator=(const DOM::NodeList&)
        DOM::NodeList& xret = this->DOM::NodeList::operator=(*(const DOM::NodeList*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // unsigned long length() const
        unsigned long xret = ((const x_DOM__NodeList*)this)->DOM::NodeList::length();
        x[0].s_ulong = xret;
    }
    void x_5(Smoke::Stack x) {
        // DOM::Node item(unsigned long) const
        DOM::Node xret = ((const x_DOM__NodeList*)this)->DOM::NodeList::item((unsigned long)x[1].s_ulong);
        x[0].s_class = (void*)new DOM::Node(xret);
    }
    void x_6(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_DOM__NodeList*)this)->DOM::NodeList::isNull();
        x[0].s_bool = xret;
    }
    ~x_DOM__NodeList() { this->_binding->deleted(106, (void*)this); }
};
void xcall_DOM__NodeList(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_DOM__NodeList *xself = (x_DOM__NodeList*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_DOM__NodeList::x_1(args);	break;
        case 2: x_DOM__NodeList::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: delete (DOM::NodeList*)xself;	break;
    }
}
class x_DOM__Notation : public DOM::Notation, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // DOM::Notation* Notation()
        x_DOM__Notation* xret = new x_DOM__Notation();
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__Notation() : Notation() {}
    static void x_2(Smoke::Stack x) {
        // DOM::Notation* Notation(const DOM::Notation&)
        x_DOM__Notation* xret = new x_DOM__Notation(*(const DOM::Notation*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__Notation(const DOM::Notation& x1) : Notation(x1) {}
    static void x_3(Smoke::Stack x) {
        // DOM::Notation* Notation(const DOM::Node&)
        x_DOM__Notation* xret = new x_DOM__Notation(*(const DOM::Node*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__Notation(const DOM::Node& x1) : Notation(x1) {}
    void x_4(Smoke::Stack x) {
        // DOM::Notation& operator=(const DOM::Node&)
        DOM::Notation& xret = this->DOM::Notation::operator=(*(const DOM::Node*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // DOM::Notation& operator=(const DOM::Notation&)
        DOM::Notation& xret = this->DOM::Notation::operator=(*(const DOM::Notation*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_6(Smoke::Stack x) {
        // DOM::DOMString publicId() const
        DOM::DOMString xret = ((const x_DOM__Notation*)this)->DOM::Notation::publicId();
        x[0].s_class = (void*)new DOM::DOMString(xret);
    }
    void x_7(Smoke::Stack x) {
        // DOM::DOMString systemId() const
        DOM::DOMString xret = ((const x_DOM__Notation*)this)->DOM::Notation::systemId();
        x[0].s_class = (void*)new DOM::DOMString(xret);
    }
    ~x_DOM__Notation() { this->_binding->deleted(107, (void*)this); }
};
void xcall_DOM__Notation(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_DOM__Notation *xself = (x_DOM__Notation*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_DOM__Notation::x_1(args);	break;
        case 2: x_DOM__Notation::x_2(args);	break;
        case 3: x_DOM__Notation::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: delete (DOM::Notation*)xself;	break;
    }
}
class x_DOM__ProcessingInstruction : public DOM::ProcessingInstruction, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // DOM::ProcessingInstruction* ProcessingInstruction()
        x_DOM__ProcessingInstruction* xret = new x_DOM__ProcessingInstruction();
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__ProcessingInstruction() : ProcessingInstruction() {}
    static void x_2(Smoke::Stack x) {
        // DOM::ProcessingInstruction* ProcessingInstruction(const DOM::ProcessingInstruction&)
        x_DOM__ProcessingInstruction* xret = new x_DOM__ProcessingInstruction(*(const DOM::ProcessingInstruction*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__ProcessingInstruction(const DOM::ProcessingInstruction& x1) : ProcessingInstruction(x1) {}
    static void x_3(Smoke::Stack x) {
        // DOM::ProcessingInstruction* ProcessingInstruction(const DOM::Node&)
        x_DOM__ProcessingInstruction* xret = new x_DOM__ProcessingInstruction(*(const DOM::Node*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__ProcessingInstruction(const DOM::Node& x1) : ProcessingInstruction(x1) {}
    void x_4(Smoke::Stack x) {
        // DOM::ProcessingInstruction& operator=(const DOM::Node&)
        DOM::ProcessingInstruction& xret = this->DOM::ProcessingInstruction::operator=(*(const DOM::Node*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // DOM::ProcessingInstruction& operator=(const DOM::ProcessingInstruction&)
        DOM::ProcessingInstruction& xret = this->DOM::ProcessingInstruction::operator=(*(const DOM::ProcessingInstruction*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_6(Smoke::Stack x) {
        // DOM::DOMString target() const
        DOM::DOMString xret = ((const x_DOM__ProcessingInstruction*)this)->DOM::ProcessingInstruction::target();
        x[0].s_class = (void*)new DOM::DOMString(xret);
    }
    void x_7(Smoke::Stack x) {
        // DOM::DOMString data() const
        DOM::DOMString xret = ((const x_DOM__ProcessingInstruction*)this)->DOM::ProcessingInstruction::data();
        x[0].s_class = (void*)new DOM::DOMString(xret);
    }
    void x_8(Smoke::Stack x) {
        // void setData(const DOM::DOMString&)
        this->DOM::ProcessingInstruction::setData(*(const DOM::DOMString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // DOM::StyleSheet sheet() const
        DOM::StyleSheet xret = ((const x_DOM__ProcessingInstruction*)this)->DOM::ProcessingInstruction::sheet();
        x[0].s_class = (void*)new DOM::StyleSheet(xret);
    }
    ~x_DOM__ProcessingInstruction() { this->_binding->deleted(108, (void*)this); }
};
void xcall_DOM__ProcessingInstruction(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_DOM__ProcessingInstruction *xself = (x_DOM__ProcessingInstruction*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_DOM__ProcessingInstruction::x_1(args);	break;
        case 2: x_DOM__ProcessingInstruction::x_2(args);	break;
        case 3: x_DOM__ProcessingInstruction::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: delete (DOM::ProcessingInstruction*)xself;	break;
    }
}
class x_DOM__RGBColor : public DOM::RGBColor {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // DOM::RGBColor* RGBColor()
        x_DOM__RGBColor* xret = new x_DOM__RGBColor();
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__RGBColor() : RGBColor() {}
    static void x_2(Smoke::Stack x) {
        // DOM::RGBColor* RGBColor(const QColor&)
        x_DOM__RGBColor* xret = new x_DOM__RGBColor(*(const QColor*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__RGBColor(const QColor& x1) : RGBColor(x1) {}
    static void x_3(Smoke::Stack x) {
        // DOM::RGBColor* RGBColor(unsigned int)
        x_DOM__RGBColor* xret = new x_DOM__RGBColor((unsigned int)x[1].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__RGBColor(unsigned int x1) : RGBColor(x1) {}
    static void x_4(Smoke::Stack x) {
        // DOM::RGBColor* RGBColor(const DOM::RGBColor&)
        x_DOM__RGBColor* xret = new x_DOM__RGBColor(*(const DOM::RGBColor*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__RGBColor(const DOM::RGBColor& x1) : RGBColor(x1) {}
    void x_5(Smoke::Stack x) {
        // DOM::RGBColor& operator=(const DOM::RGBColor&)
        DOM::RGBColor& xret = this->DOM::RGBColor::operator=(*(const DOM::RGBColor*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_6(Smoke::Stack x) {
        // DOM::CSSPrimitiveValue red() const
        DOM::CSSPrimitiveValue xret = ((const x_DOM__RGBColor*)this)->DOM::RGBColor::red();
        x[0].s_class = (void*)new DOM::CSSPrimitiveValue(xret);
    }
    void x_7(Smoke::Stack x) {
        // DOM::CSSPrimitiveValue green() const
        DOM::CSSPrimitiveValue xret = ((const x_DOM__RGBColor*)this)->DOM::RGBColor::green();
        x[0].s_class = (void*)new DOM::CSSPrimitiveValue(xret);
    }
    void x_8(Smoke::Stack x) {
        // DOM::CSSPrimitiveValue blue() const
        DOM::CSSPrimitiveValue xret = ((const x_DOM__RGBColor*)this)->DOM::RGBColor::blue();
        x[0].s_class = (void*)new DOM::CSSPrimitiveValue(xret);
    }
    void x_9(Smoke::Stack x) {
        // unsigned int color() const
        unsigned int xret = ((const x_DOM__RGBColor*)this)->DOM::RGBColor::color();
        x[0].s_uint = xret;
    }
    void x_10(Smoke::Stack x) {
        // unsigned int m_color
        x[0].s_uint = this->DOM::RGBColor::m_color;
    }
    void x_11(Smoke::Stack x) {
        // unsigned int m_color=
        this->DOM::RGBColor::m_color = (unsigned int)x[1].s_uint;
    }
    ~x_DOM__RGBColor() { this->_binding->deleted(109, (void*)this); }
};
void xcall_DOM__RGBColor(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_DOM__RGBColor *xself = (x_DOM__RGBColor*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_DOM__RGBColor::x_1(args);	break;
        case 2: x_DOM__RGBColor::x_2(args);	break;
        case 3: x_DOM__RGBColor::x_3(args);	break;
        case 4: x_DOM__RGBColor::x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: delete (DOM::RGBColor*)xself;	break;
    }
}
class x_DOM__Range : public DOM::Range {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // DOM::Range* Range()
        x_DOM__Range* xret = new x_DOM__Range();
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__Range() : Range() {}
    static void x_2(Smoke::Stack x) {
        // DOM::Range* Range(const DOM::Document)
        x_DOM__Range* xret = new x_DOM__Range(*(const DOM::Document*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__Range(const DOM::Document x1) : Range(x1) {}
    static void x_3(Smoke::Stack x) {
        // DOM::Range* Range(const DOM::Range&)
        x_DOM__Range* xret = new x_DOM__Range(*(const DOM::Range*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__Range(const DOM::Range& x1) : Range(x1) {}
    static void x_4(Smoke::Stack x) {
        // DOM::Range* Range(const DOM::Node, const long, const DOM::Node, const long)
        x_DOM__Range* xret = new x_DOM__Range(*(const DOM::Node*)x[1].s_class,(const long)x[2].s_long,*(const DOM::Node*)x[3].s_class,(const long)x[4].s_long);
        x[0].s_class = (void*)xret;
    }
    explicit x_DOM__Range(const DOM::Node x1, const long x2, const DOM::Node x3, const long x4) : Range(x1, x2, x3, x4) {}
    void x_5(Smoke::Stack x) {
        // DOM::Range& operator=(const DOM::Range&)
        DOM::Range& xret = this->DOM::Range::operator=(*(const DOM::Range*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_6(Smoke::Stack x) {
        // DOM::Node startContainer() const
        DOM::Node xret = ((const x_DOM__Range*)this)->DOM::Range::startContainer();
        x[0].s_class = (void*)new DOM::Node(xret);
    }
    void x_7(Smoke::Stack x) {
        // long startOffset() const
        long xret = ((const x_DOM__Range*)this)->DOM::Range::startOffset();
        x[0].s_long = xret;
    }
    void x_8(Smoke::Stack x) {
        // DOM::Node endContainer() const
        DOM::Node xret = ((const x_DOM__Range*)this)->DOM::Range::endContainer();
        x[0].s_class = (void*)new DOM::Node(xret);
    }
    void x_9(Smoke::Stack x) {
        // long endOffset() const
        long xret = ((const x_DOM__Range*)this)->DOM::Range::endOffset();
        x[0].s_long = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool collapsed() const
        bool xret = ((const x_DOM__Range*)this)->DOM::Range::collapsed();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // DOM::Node commonAncestorContainer()
        DOM::Node xret = this->DOM::Range::commonAncestorContainer();
        x[0].s_class = (void*)new DOM::Node(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setStart(const DOM::Node&, long)
        this->DOM::Range::setStart(*(const DOM::Node*)x[1].s_class,(long)x[2].s_long);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setEnd(const DOM::Node&, long)
        this->DOM::Range::setEnd(*(const DOM::Node*)x[1].s_class,(long)x[2].s_long);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setStartBefore(const DOM::Node&)
        this->DOM::Range::setStartBefore(*(const DOM::Node*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setStartAfter(const DOM::Node&)
        this->DOM::Range::setStartAfter(*(const DOM::Node*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setEndBefore(const DOM::Node&)
        this->DOM::Range::setEndBefore(*(const DOM::Node*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setEndAfter(const DOM::Node&)
        this->DOM::Range::setEndAfter(*(const DOM::Node*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void collapse(bool)
        this->DOM::Range::collapse((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void selectNode(const DOM::Node&)
        this->DOM::Range::selectNode(*(const DOM::Node*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void selectNodeContents(const DOM::Node&)
        this->DOM::Range::selectNodeContents(*(const DOM::Node*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // short compareBoundaryPoints(DOM::Range::CompareHow, const DOM::Range&)
        short xret = this->DOM::Range::compareBoundaryPoints((DOM::Range::CompareHow)x[1].s_enum,*(const DOM::Range*)x[2].s_class);
        x[0].s_short = xret;
    }
    void x_22(Smoke::Stack x) {
        // bool boundaryPointsValid()
        bool xret = this->DOM::Range::boundaryPointsValid();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // void deleteContents()
        this->DOM::Range::deleteContents();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // DOM::DocumentFragment extractContents()
        DOM::DocumentFragment xret = this->DOM::Range::extractContents();
        x[0].s_class = (void*)new DOM::DocumentFragment(xret);
    }
    void x_25(Smoke::Stack x) {
        // DOM::DocumentFragment cloneContents()
        DOM::DocumentFragment xret = this->DOM::Range::cloneContents();
        x[0].s_class = (void*)new DOM::DocumentFragment(xret);
    }
    void x_26(Smoke::Stack x) {
        // void insertNode(const DOM::Node&)
        this->DOM::Range::insertNode(*(const DOM::Node*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void surroundContents(const DOM::Node&)
        this->DOM::Range::surroundContents(*(const DOM::Node*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // DOM::Range cloneRange()
        DOM::Range xret = this->DOM::Range::cloneRange();
        x[0].s_class = (void*)new DOM::Range(xret);
    }
    void x_29(Smoke::Stack x) {
        // DOM::DOMString toString()
        DOM::DOMString xret = this->DOM::Range::toString();
        x[0].s_class = (void*)new DOM::DOMString(xret);
    }
    void x_30(Smoke::Stack x) {
        // DOM::DOMString toHTML()
        DOM::DOMString xret = this->DOM::Range::toHTML();
        x[0].s_class = (void*)new DOM::DOMString(xret);
    }
    void x_31(Smoke::Stack x) {
        // DOM::DocumentFragment createContextualFragment(const DOM::DOMString&)
        DOM::DocumentFragment xret = this->DOM::Range::createContextualFragment(*(const DOM::DOMString*)x[1].s_class);
        x[0].s_class = (void*)new DOM::DocumentFragment(xret);
    }
    void x_32(Smoke::Stack x) {
        // void detach()
        this->DOM::Range::detach();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // bool isDetached() const
        bool xret = ((const x_DOM__Range*)this)->DOM::Range::isDetached();
        x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_DOM__Range*)this)->DOM::Range::isNull();
        x[0].s_bool = xret;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)DOM::Range::START_TO_START;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)DOM::Range::START_TO_END;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)DOM::Range::END_TO_END;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)DOM::Range::END_TO_START;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 261: //DOM::Range::CompareHow
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new DOM::Range::CompareHow;
                    break;
                case Smoke::EnumDelete:
                    delete (DOM::Range::CompareHow*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(DOM::Range::CompareHow*)xdata = (DOM::Range::CompareHow)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(DOM::Range::CompareHow*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_DOM__Range() { this->_binding->deleted(110, (void*)this); }
};
void xenum_DOM__Range(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_DOM__Range::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_DOM__Range(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_DOM__Range *xself = (x_DOM__Range*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_DOM__Range::x_1(args);	break;
        case 2: x_DOM__Range::x_2(args);	break;
        case 3: x_DOM__Range::x_3(args);	break;
        case 4: x_DOM__Range::x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: x_DOM__Range::x_35(args);	break;
        case 36: x_DOM__Range::x_36(args);	break;
        case 37: x_DOM__Range::x_37(args);	break;
        case 38: x_DOM__Range::x_38(args);	break;
        case 39: delete (DOM::Range*)xself;	break;
    }
}

}
