cvs: gd /libgd/src wbmp.h
[email protected] ("Mattias Bengtsson") Fri, 21 Dec 2007 22:59:41 -0000
| Newsgroups | php.gd.cvs |
|---|---|
| Message-ID | <cvsmattias1198277981@cvsserver> |
mattias Fri Dec 21 22:59:41 2007 UTC
Modified files:
/gd/libgd/src wbmp.h
Log:
- ws + cs
http://cvs.php.net/viewvc.cgi/gd/libgd/src/wbmp.h?r1=1.4&r2=1.5&diff_format=u
Index: gd/libgd/src/wbmp.h
diff -u gd/libgd/src/wbmp.h:1.4 gd/libgd/src/wbmp.h:1.5
--- gd/libgd/src/wbmp.h:1.4 Wed Apr 5 15:54:21 2006
+++ gd/libgd/src/wbmp.h Fri Dec 21 22:59:41 2007
@@ -3,51 +3,47 @@
#endif
/* WBMP
-** ----
-** WBMP Level 0: B/W, Uncompressed
-** This implements the WBMP format as specified in WAPSpec 1.1 and 1.2.
-** It does not support ExtHeaders as defined in the spec. The spec states
-** that a WAP client does not need to implement ExtHeaders.
-**
-** (c) 2000 Johan Van den Brande <[email protected]>
-**
-** Header file
-*/
+ * ----
+ * WBMP Level 0: B/W, Uncompressed
+ * This implements the WBMP format as specified in WAPSpec 1.1 and 1.2.
+ * It does not support ExtHeaders as defined in the spec. The spec states
+ * that a WAP client does not need to implement ExtHeaders.
+ *
+ * (c) 2000 Johan Van den Brande <[email protected]>
+ *
+ * Header file
+ */
#ifndef __WBMP_H
#define __WBMP_H 1
-
/* WBMP struct
-** -----------
-** A Wireless bitmap structure
-**
-*/
+ * -----------
+ * A Wireless bitmap structure
+ */
typedef struct Wbmp_
{
- int type; /* type of the wbmp */
- int width; /* width of the image */
- int height; /* height of the image */
- int *bitmap; /* pointer to data: 0 = WHITE , 1 = BLACK */
+ int type; /* type of the wbmp */
+ int width; /* width of the image */
+ int height; /* height of the image */
+ int *bitmap;/* pointer to data: 0 = WHITE , 1 = BLACK */
}
Wbmp;
#define WBMP_WHITE 1
#define WBMP_BLACK 0
-
/* Proto's
-** -------
-**
-*/
-void putmbi (int i, void (*putout) (int c, void *out), void *out);
-int getmbi (int (*getin) (void *in), void *in);
-int skipheader (int (*getin) (void *in), void *in);
-Wbmp *createwbmp (int width, int height, int color);
-int readwbmp (int (*getin) (void *in), void *in, Wbmp ** wbmp);
-int writewbmp (Wbmp * wbmp, void (*putout) (int c, void *out), void *out);
-void freewbmp (Wbmp * wbmp);
-void printwbmp (Wbmp * wbmp);
+ * -------
+ */
+void putmbi(int i, void (*putout)(int c, void *out), void *out);
+int getmbi(int (*getin)(void *in), void *in);
+int skipheader(int (*getin)(void *in), void *in);
+Wbmp *createwbmp(int width, int height, int color);
+int readwbmp(int (*getin)(void *in), void *in, Wbmp **wbmp);
+int writewbmp(Wbmp *wbmp, void (*putout)(int c, void *out), void *out);
+void freewbmp(Wbmp *wbmp);
+void printwbmp(Wbmp *wbmp);
#endif