Remove reference to C++ EventEmitter in docs

I prefer ppl to use ObjectWrap
pull/22966/head
Ryan Dahl 2010-05-12 12:17:45 -07:00
parent d0128787e7
commit 1c7670aca2
1 changed files with 5 additions and 5 deletions

View File

@ -2935,14 +2935,14 @@ knowledge of several libraries:
`src/file.cc` so you will probably not need to use it. If you do need it,
look at the header file `deps/libeio/eio.h`.
- Internal Node libraries. Most importantly is the `node::EventEmitter`
class which you will likely want to derive from.
- Internal Node libraries. Most importantly is the `node::ObjectWrap`
class which you will likely want to derive from.
- Others. Look in `deps/` for what else is available.
- Others. Look in `deps/` for what else is available.
Node statically compiles all its dependencies into the executable. When
compiling your module, you don't need to worry about linking to any of these
libraries.
libraries.
To get started let's make a small Addon which does the following except in
C++:
@ -2990,7 +2990,7 @@ provided for the ease of users.
All Node addons must export a function called `init` with this signature:
extern 'C' void init (Handle<Object> target)
extern 'C' void init (Handle<Object> target)
For the moment, that is all the documentation on addons. Please see
<http://github.com/ry/node_postgres> for a real example.