Browse Source

Fixed constructors

v1.x
Tj Holowaychuk 14 years ago
parent
commit
228aafec7e
  1. 2
      src/Canvas.cc
  2. 2
      src/CanvasGradient.cc
  3. 2
      src/CanvasRenderingContext2d.cc
  4. 2
      src/Image.cc
  5. 2
      src/ImageData.cc
  6. 2
      src/PixelArray.cc

2
src/Canvas.cc

@ -13,6 +13,8 @@
#include <node_buffer.h> #include <node_buffer.h>
#include <node_version.h> #include <node_version.h>
Persistent<FunctionTemplate> Canvas::constructor;
/* /*
* Buffer data pointer access. * Buffer data pointer access.
*/ */

2
src/CanvasGradient.cc

@ -8,6 +8,8 @@
#include "Canvas.h" #include "Canvas.h"
#include "CanvasGradient.h" #include "CanvasGradient.h"
Persistent<FunctionTemplate> Gradient::constructor;
/* /*
* Initialize CanvasGradient. * Initialize CanvasGradient.
*/ */

2
src/CanvasRenderingContext2d.cc

@ -14,6 +14,8 @@
#include "CanvasRenderingContext2d.h" #include "CanvasRenderingContext2d.h"
#include "CanvasGradient.h" #include "CanvasGradient.h"
Persistent<FunctionTemplate> Context2d::constructor;
/* /*
* Set RGBA. * Set RGBA.
*/ */

2
src/Image.cc

@ -10,6 +10,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
Persistent<FunctionTemplate> Image::constructor;
/* /*
* Initialize Image. * Initialize Image.
*/ */

2
src/ImageData.cc

@ -7,6 +7,8 @@
#include "ImageData.h" #include "ImageData.h"
Persistent<FunctionTemplate> ImageData::constructor;
/* /*
* Initialize ImageData. * Initialize ImageData.
*/ */

2
src/PixelArray.cc

@ -9,6 +9,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
Persistent<FunctionTemplate> PixelArray::constructor;
/* /*
* Initialize PixelArray. * Initialize PixelArray.
*/ */

Loading…
Cancel
Save