You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
353 B
24 lines
353 B
|
|
//
|
|
// closure.h
|
|
//
|
|
// Copyright (c) 2010 LearnBoost <tj@learnboost.com>
|
|
//
|
|
|
|
#ifndef __NODE_CLOSURE_H__
|
|
#define __NODE_CLOSURE_H__
|
|
|
|
/*
|
|
* PNG stream closure.
|
|
*/
|
|
|
|
typedef struct {
|
|
Persistent<Function> pfn;
|
|
Handle<Function> fn;
|
|
unsigned len;
|
|
uint8_t *data;
|
|
Canvas *canvas;
|
|
cairo_status_t status;
|
|
} closure_t;
|
|
|
|
#endif /* __NODE_CLOSURE_H__ */
|
|
|