Commits

Anonymous committed f7a1a94

- sync to 2.0.24

Comments (0)

Files changed (2)

   return TRUE;
 }
 
-gdImagePtr
-gdImageCreateFromGd2 (FILE * inFile)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2 (FILE * inFile)
 {
   gdIOCtx *in = gdNewFileCtx (inFile);
   gdImagePtr im;
   return im;
 }
 
-gdImagePtr
-gdImageCreateFromGd2Ptr (int size, void *data)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ptr (int size, void *data)
 {
   gdImagePtr im;
   gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0);
   return im;
 }
 
-gdImagePtr
-gdImageCreateFromGd2Ctx (gdIOCtxPtr in)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx (gdIOCtxPtr in)
 {
   int sx, sy;
   int i;
 
 }
 
-gdImagePtr
-gdImageCreateFromGd2Part (FILE * inFile, int srcx, int srcy, int w, int h)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Part (FILE * inFile, int srcx, int srcy, int w, int h)
 {
   gdImagePtr im;
   gdIOCtx *in = gdNewFileCtx (inFile);
   return im;
 }
 
-gdImagePtr
-gdImageCreateFromGd2PartPtr (int size, void *data, int srcx, int srcy, int w,
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartPtr (int size, void *data, int srcx, int srcy, int w,
 			     int h)
 {
   gdImagePtr im;
   return im;
 }
 
-gdImagePtr
-gdImageCreateFromGd2PartCtx (gdIOCtx * in, int srcx, int srcy, int w, int h)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartCtx (gdIOCtx * in, int srcx, int srcy, int w, int h)
 {
   int scx, scy, ecx, ecy, fsx, fsy;
   int nc, ncx, ncy, cs, cx, cy;
 
 }
 
-void
-gdImageGd2 (gdImagePtr im, FILE * outFile, int cs, int fmt)
+BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * outFile, int cs, int fmt)
 {
   gdIOCtx *out = gdNewFileCtx (outFile);
   _gdImageGd2 (im, out, cs, fmt);
   out->gd_free (out);
 }
 
-void *
-gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size)
+BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size)
 {
   void *rv;
   gdIOCtx *out = gdNewDynamicCtx (2048, NULL);
 }
 
 #else /* no HAVE_LIBZ */
-gdImagePtr
-gdImageCreateFromGd2 (FILE * inFile)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2 (FILE * inFile)
 {
   fprintf (stderr, "GD2 support is not available - no libz\n");
   return NULL;
 }
 
-gdImagePtr
-gdImageCreateFromGd2Ctx (gdIOCtxPtr in)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx (gdIOCtxPtr in)
 {
   fprintf (stderr, "GD2 support is not available - no libz\n");
   return NULL;
 static long dynamicTell (struct gdIOCtx *);
 
 /* return data as a dynamic pointer */
-gdIOCtx *
-gdNewDynamicCtx (int initialSize, void *data)
+BGD_DECLARE(gdIOCtx *) gdNewDynamicCtx (int initialSize, void *data)
 {
   /* 2.0.23: Phil Moore: 'return' keyword was missing! */
   return gdNewDynamicCtxEx (initialSize, data, 1);
 }
 
-gdIOCtx *
-gdNewDynamicCtxEx (int initialSize, void *data, int freeOKFlag)
+BGD_DECLARE(gdIOCtx *) gdNewDynamicCtxEx (int initialSize, void *data, int freeOKFlag)
 {
   dpIOCtx *ctx;
   dynamicPtr *dp;
   return (gdIOCtx *) ctx;
 }
 
-void *
-gdDPExtractData (struct gdIOCtx *ctx, int *size)
+BGD_DECLARE(void *) gdDPExtractData (struct gdIOCtx *ctx, int *size)
 {
   dynamicPtr *dp;
   dpIOCtx *dctx;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.