Browse files

Remove old buffer api

  • Loading branch information...
1 parent f1391f3 commit 41c1563584bfb018a444e92f01f8cff87ccda30b @ry ry committed Nov 1, 2010
Showing with 1 addition and 11 deletions.
  1. +1 −11 src/node_buffer.h
View
12 src/node_buffer.h
@@ -37,17 +37,7 @@ class Buffer : public ObjectWrap {
static char* Data(v8::Handle<v8::Object>);
static size_t Length(v8::Handle<v8::Object>);
- char* data() {
- assert(0 && "v0.3 API change: Use node::Buffer::Data().");
- return NULL;
- }
-
- size_t length() const {
- assert(0 && "v0.3 API change: Use node::Buffer::Length().");
- return 0;
- }
-
- private:
+ private:
static v8::Persistent<v8::FunctionTemplate> constructor_template;
static v8::Handle<v8::Value> New(const v8::Arguments &args);

0 comments on commit 41c1563

Please sign in to comment.