Revision: 54923
http://brlcad.svn.sourceforge.net/brlcad/?rev=54923&view=rev
Author: r_weiss
Date: 2013-03-27 21:19:40 +0000 (Wed, 27 Mar 2013)
Log Message:
-----------
Update to "fbio.h" changing the return for "_write" and "_read" to "ssize_t".
Modified Paths:
--------------
brlcad/trunk/include/fbio.h
Modified: brlcad/trunk/include/fbio.h
===================================================================
--- brlcad/trunk/include/fbio.h 2013-03-27 21:17:29 UTC (rev 54922)
+++ brlcad/trunk/include/fbio.h 2013-03-27 21:19:40 UTC (rev 54923)
@@ -95,8 +95,8 @@
int (*if_open)FB_ARGS((struct FBIO_ *ifp, const char *file, int _width,
int _height)); /**< @brief open device */
int (*if_close)FB_ARGS((struct FBIO_ *ifp));
/**< @brief close device */
int (*if_clear)FB_ARGS((struct FBIO_ *ifp, unsigned char *pp));
/**< @brief clear device */
- int (*if_read)FB_ARGS((struct FBIO_ *ifp, int x, int y, unsigned char *pp,
size_t count)); /**< @brief read pixels */
- int (*if_write)FB_ARGS((struct FBIO_ *ifp, int x, int y, const unsigned
char *pp, size_t count)); /**< @brief write pixels */
+ ssize_t (*if_read)FB_ARGS((struct FBIO_ *ifp, int x, int y, unsigned char
*pp, size_t count)); /**< @brief read pixels */
+ ssize_t (*if_write)FB_ARGS((struct FBIO_ *ifp, int x, int y, const
unsigned char *pp, size_t count)); /**< @brief write pixels */
int (*if_rmap)FB_ARGS((struct FBIO_ *ifp, ColorMap *cmap));
/**< @brief read colormap */
int (*if_wmap)FB_ARGS((struct FBIO_ *ifp, const ColorMap *cmap));
/**< @brief write colormap */
int (*if_view)FB_ARGS((struct FBIO_ *ifp, int xcent, int ycent, int xzoom,
int yzoom)); /**< @brief set view */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits