diff options
Diffstat (limited to 'src/uscxml/plugins/datamodel/ecmascript/JavaScriptCore/dom/JSCDOM.h')
-rw-r--r-- | src/uscxml/plugins/datamodel/ecmascript/JavaScriptCore/dom/JSCDOM.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/uscxml/plugins/datamodel/ecmascript/JavaScriptCore/dom/JSCDOM.h b/src/uscxml/plugins/datamodel/ecmascript/JavaScriptCore/dom/JSCDOM.h index 248d057..af946a9 100644 --- a/src/uscxml/plugins/datamodel/ecmascript/JavaScriptCore/dom/JSCDOM.h +++ b/src/uscxml/plugins/datamodel/ecmascript/JavaScriptCore/dom/JSCDOM.h @@ -7,21 +7,22 @@ #define JSC_DESTRUCTOR(type) \ static void jsDestructor(JSObjectRef object) { \ type* thing = static_cast<type*>(JSObjectGetPrivate(object)); \ +delete thing->arabicaThis; \ delete thing; \ } -namespace uscxml { +namespace Arabica { +namespace DOM { class JSCDOM { public: JSCDOM(); virtual ~JSCDOM() { }; - Interpreter* interpreter; Arabica::XPath::XPath<std::string>* xpath; }; } - +} #endif /* end of include guard: JSCDOM_H_1RC5LCG8 */ |