Skip to content

Commit

Permalink
Merge branch 'master' of github.com:LearnBoost/node-canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 30, 2011
2 parents 10da42f + 530266d commit 582a005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Canvas.cc
Expand Up @@ -133,7 +133,7 @@ toBuffer(void *c, const uint8_t *data, unsigned len) {
* EIO toBuffer callback.
*/

int
void
Canvas::EIO_ToBuffer(eio_req *req) {
closure_t *closure = (closure_t *) req->data;

Expand All @@ -142,7 +142,6 @@ Canvas::EIO_ToBuffer(eio_req *req) {
, toBuffer
, closure);

return 0;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion src/Canvas.h
Expand Up @@ -43,7 +43,7 @@ class Canvas: public node::ObjectWrap {
static void SetHeight(Local<String> prop, Local<Value> val, const AccessorInfo &info);
static Handle<Value> StreamPNGSync(const Arguments &args);
static Local<Value> Error(cairo_status_t status);
static int EIO_ToBuffer(eio_req *req);
static void EIO_ToBuffer(eio_req *req);
static int EIO_AfterToBuffer(eio_req *req);
inline cairo_surface_t *surface(){ return _surface; }
inline uint8_t *data(){ return cairo_image_surface_get_data(_surface); }
Expand Down

0 comments on commit 582a005

Please sign in to comment.