| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,17 +37,7 @@ class Buffer : public ObjectWrap { | |||
| 37 | 37 | static char* Data(v8::Handle<v8::Object>); | |
| 38 | 38 | static size_t Length(v8::Handle<v8::Object>); | |
| 39 | 39 | ||
| 40 | - char* data() { | ||
| 41 | - assert(0 && "v0.3 API change: Use node::Buffer::Data()."); | ||
| 42 | - return NULL; | ||
| 43 | - } | ||
| 44 | - | ||
| 45 | - size_t length() const { | ||
| 46 | - assert(0 && "v0.3 API change: Use node::Buffer::Length()."); | ||
| 47 | - return 0; | ||
| 48 | - } | ||
| 49 | - | ||
| 50 | - private: | ||
| 40 | + private: | ||
| 51 | 41 | static v8::Persistent<v8::FunctionTemplate> constructor_template; | |
| 52 | 42 | ||
| 53 | 43 | static v8::Handle<v8::Value> New(const v8::Arguments &args); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments