Move Buffer to extension model.

v0.7.4-release
Paul Querna 2010-07-13 23:58:15 -07:00 committed by Ryan Dahl
parent 4f7f43762d
commit 82daa46e26
3 changed files with 3 additions and 4 deletions

View File

@ -1597,10 +1597,6 @@ static Handle<Value> Binding(const Arguments& args) {
StatWatcher::Initialize(exports);
File::Initialize(exports);
binding_cache->Set(module, exports);
} else if (!strcmp(*module_v, "buffer")) {
exports = Object::New();
Buffer::Initialize(exports);
binding_cache->Set(module, exports);
} else if (!strcmp(*module_v, "evals")) {
exports = Object::New();
node::Context::Initialize(exports);

View File

@ -549,3 +549,5 @@ void Buffer::Initialize(Handle<Object> target) {
} // namespace node
NODE_MODULE(node_buffer, node::Buffer::Initialize);

View File

@ -1,5 +1,6 @@
NODE_EXT_LIST_START
NODE_EXT_LIST_ITEM(node_buffer)
NODE_EXT_LIST_ITEM(node_cares)
NODE_EXT_LIST_ITEM(node_child_process)
#ifdef HAVE_OPENSSL