[Pkg-javascript-commits] [node-expat] 22/371: expat: comments

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:41 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 ed7a52014bcc67b1ba2ad44663cba8b5a0bcdc99
Author: Astro <astro at spaceboyz.net>
Date:   Sun May 30 14:32:25 2010 +0200

    expat: comments
---
 expat.cc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/expat.cc b/expat.cc
index aa9a26f..3aa6011 100644
--- a/expat.cc
+++ b/expat.cc
@@ -36,6 +36,8 @@ public:
   }
 
 protected:
+  /*** Constructor ***/
+
   static Handle<Value> New(const Arguments& args)
   {
     HandleScope scope;
@@ -72,6 +74,8 @@ protected:
     XML_ParserFree(parser);
   }
 
+  /*** parse() ***/
+
   static Handle<Value> Parse(const Arguments& args)
   {
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
@@ -106,6 +110,8 @@ protected:
     return XML_ParseBuffer(parser, len, isFinal) != 0;
   }
 
+  /*** setEncoding() ***/
+
   static Handle<Value> SetEncoding(const Arguments& args)
   {
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
@@ -131,6 +137,8 @@ protected:
     return XML_SetEncoding(parser, encoding) != 0;
   }
 
+  /*** getError() ***/
+
   static Handle<Value> GetError(const Arguments& args)
   {
     HandleScope scope;

-- 
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