[Pkg-javascript-commits] [node-expat] 252/371: NanFromV8String -> NanFromRawString

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit 5e0f03facb26961659c4164d9226473a24b1af57
Author: Lloyd Watkin <lloyd at evilprofessor.co.uk>
Date:   Wed Jun 11 20:26:53 2014 +0100

    NanFromV8String -> NanFromRawString
---
 node-expat.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/node-expat.cc b/node-expat.cc
index 63daf58..a5e1a99 100644
--- a/node-expat.cc
+++ b/node-expat.cc
@@ -39,7 +39,7 @@ protected:
     if (args.Length() == 1 && args[0]->IsString())
       {
         encoding = new XML_Char[32];
-        NanFromV8String(args[0], Nan::ASCII, NULL, encoding, 32, 0);
+        NanRawString(args[0], Nan::ASCII, NULL, encoding, 32, 0);
       }
 
     Parser *parser = new Parser(encoding);
@@ -147,7 +147,7 @@ protected:
     if (args.Length() == 1 && args[0]->IsString())
       {
         XML_Char *encoding = new XML_Char[32];
-        NanFromV8String(args[0], Nan::ASCII, NULL, encoding, 32, 0);
+        NanRawString(args[0], Nan::ASCII, NULL, encoding, 32, 0);
 
         int status = parser->setEncoding(encoding);
 
@@ -220,7 +220,7 @@ protected:
     if (args.Length() == 1 && args[0]->IsString())
       {
         encoding = new XML_Char[32];
-        NanFromV8String(args[0], Nan::ASCII, NULL, encoding, 32, 0);
+        NanRawString(args[0], Nan::ASCII, NULL, encoding, 32, 0);
       }
 
     int status = parser->reset(encoding);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list