diff options
author | Ryan <ry@tinyclouds.org> | 2009-06-22 19:48:02 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-06-22 19:48:02 +0200 |
commit | 0ff62b2ea070aa4d1d3b11f6d7d71bc45643fecc (patch) | |
tree | 4aacaa962795b966a800f956fe9925cc3c92b5b6 /src/node.h | |
parent | f56309deee758d7b113107d26cec20930f35966b (diff) | |
download | node-0ff62b2ea070aa4d1d3b11f6d7d71bc45643fecc.tar.gz |
Move oi_buf creation to node.cc
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h index 5311b479f..1a03b051c 100644 --- a/src/node.h +++ b/src/node.h @@ -4,6 +4,7 @@ #include <ev.h> #include <eio.h> #include <v8.h> +#include <oi_socket.h> namespace node { @@ -29,6 +30,7 @@ do { \ enum encoding {ASCII, UTF8, RAW}; enum encoding ParseEncoding (v8::Handle<v8::Value> encoding_v); void FatalException (v8::TryCatch &try_catch); +oi_buf * buf_new (size_t size); class ObjectWrap { public: |