Skip to content

Commit

Permalink
Fix conversion problem
Browse files Browse the repository at this point in the history
  • Loading branch information
puritys committed Sep 28, 2015
1 parent 1d01190 commit 731fa80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nodeExt/includes/phplikeXml.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class phpXMLDocument : public node::ObjectWrap {
static Handle<Object> getNodeInfo(XMLNode* node, XMLNode* firstChild);
static Handle<Object> getTextNodeInfo(XMLNode* node);
static void setAttributesIntoJs(Handle<Object> obj, XMLNode* node);
static Handle<Object> parseXML(phpXMLDocument *doc);
static Local<Object> parseXML(phpXMLDocument *doc);

tinyxml2::XMLDocument doc;

Expand Down
2 changes: 1 addition & 1 deletion src/nodeExt/phplikeXml.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ NAN_METHOD(phpXMLDocument::loadXML) {
info.GetReturnValue().Set(obj);
}

Handle<Object> phpXMLDocument::parseXML(phpXMLDocument *d) {
Local<Object> phpXMLDocument::parseXML(phpXMLDocument *d) {
XMLNode* root = d->doc.RootElement();

Local<Object> object = Nan::New<Object>();
Expand Down

0 comments on commit 731fa80

Please sign in to comment.