File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,48 +16,23 @@ using namespace v8;
1616using namespace node ;
1717
1818/* *
19- * Class: GitError
2019 * Wrapper for libgit2 git_error.
2120 */
2221class GitError : public ObjectWrap {
2322 public:
24- /* *
25- * Variable: constructor_template
26- * Used to create Node.js constructor.
27- */
23+
2824 static Persistent<Function> constructor_template;
29- /* *
30- * Function: Initialize
31- * Used to intialize the EventEmitter from Node.js
32- *
33- * Parameters:
34- * target - Object the Node.js global module object
35- */
25+
3626 static void Initialize (Handle<Object> target);
3727
3828 static Local<Object> WrapError (const git_error* error);
3929
4030 protected:
41- const git_error* error;
42-
43- /* *
44- * Constructor: GitError
45- */
4631 GitError () {};
47- /* *
48- * Deconstructor: GitError
49- */
5032 ~GitError () {};
5133
52- /* *
53- * Function: New
54- *
55- * Parameters:
56- * args Arguments function call
57- *
58- * Returns:
59- * Object args.This()
60- */
34+ const git_error* error;
35+
6136 static Handle<Value> New (const Arguments& args);
6237};
6338
You can’t perform that action at this time.
0 commit comments