Anonymous avatar Anonymous committed b163e42

- sync to 2.0.24

Comments (0)

Files changed (1)

-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 #define TRUE 1
 #define FALSE 0
 
-/* Exported functions: */
-extern void gdImageGd (gdImagePtr im, FILE * out);
-
-
 /* Use this for commenting out debug-print statements. */
 /* Just use the first '#define' to allow all the prints... */
 /*#define GD2_DBG(s) (s) */
   return 0;
 }
 
-gdImagePtr
-gdImageCreateFromGd (FILE * inFile)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGd (FILE * inFile)
 {
   gdImagePtr im;
   gdIOCtx *in;
   return im;
 }
 
-gdImagePtr
-gdImageCreateFromGdPtr (int size, void *data)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGdPtr (int size, void *data)
 {
   gdImagePtr im;
   gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0);
   return im;
 }
 
-gdImagePtr
-gdImageCreateFromGdCtx (gdIOCtxPtr in)
+BGD_DECLARE(gdImagePtr) gdImageCreateFromGdCtx (gdIOCtxPtr in)
 {
   int sx, sy;
   int x, y;
     }
 }
 
-void
-gdImageGd (gdImagePtr im, FILE * outFile)
+BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * outFile)
 {
   gdIOCtx *out = gdNewFileCtx (outFile);
   _gdImageGd (im, out);
   out->gd_free (out);
 }
 
-void *
-gdImageGdPtr (gdImagePtr im, int *size)
+BGD_DECLARE(void *) gdImageGdPtr (gdImagePtr im, int *size)
 {
   void *rv;
   gdIOCtx *out = gdNewDynamicCtx (2048, NULL);
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.