8000 Removed references to node_events.h by alexkwolfe · Pull Request #31 · nodegit/nodegit · GitHub
[go: up one dir, main page]

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/commit.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand All @@ -23,7 +23,7 @@ using namespace v8;
/**
* Class wrapper for libgit2 git_commit
*/
class GitCommit : public EventEmitter {
class GitCommit : public ObjectWrap {
public:
/**
* v8::FunctionTemplate used to create Node.js constructor
Expand Down
2 changes: 1 addition & 1 deletion include/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define ERROR_H

#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
3 changes: 1 addition & 2 deletions include/index.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
#define INDEX_H

#include <node.h>
#include <node_events.h>

#include <node_object_wrap.h>
#include "../vendor/libgit2/include/git2.h"

using namespace node;
Expand Down