[GRASS-SVN] r31941 - in grass/trunk: gui/wxpython/nviz include
lib/nviz lib/ogsf visualization/nviz2/cmd
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 1 17:54:05 EDT 2008
Author: glynn
Date: 2008-07-01 17:54:05 -0400 (Tue, 01 Jul 2008)
New Revision: 31941
Modified:
grass/trunk/gui/wxpython/nviz/
grass/trunk/include/ogsf_proto.h
grass/trunk/lib/nviz/
grass/trunk/lib/ogsf/gsd_img_mpeg.c
grass/trunk/lib/ogsf/gsd_img_ppm.c
grass/trunk/lib/ogsf/gsd_img_tif.c
grass/trunk/visualization/nviz2/cmd/
Log:
Change char * -> const char *
Set svn:ignore property
Property changes on: grass/trunk/gui/wxpython/nviz
___________________________________________________________________
Name: svn:ignore
+ *.tmp.html
*OBJ*
grass6_wxnviz*
Modified: grass/trunk/include/ogsf_proto.h
===================================================================
--- grass/trunk/include/ogsf_proto.h 2008-07-01 21:52:49 UTC (rev 31940)
+++ grass/trunk/include/ogsf_proto.h 2008-07-01 21:54:05 UTC (rev 31941)
@@ -195,7 +195,7 @@
double GS_get_aspect(void);
int GS_has_transparency(void);
void GS_zoom_setup(int *, int *, int *, int *, int *, int *);
-int GS_write_zoom(char *, unsigned int, unsigned int);
+int GS_write_zoom(const char *, unsigned int, unsigned int);
void GS_draw_all_list(void);
void GS_delete_list(GLuint);
int GS_draw_legend(char *, GLuint, int, int *, float *, int *);
@@ -462,13 +462,13 @@
int get_txtxoffset();
/* From gsd_img_ppm.c */
-int GS_write_ppm(char *);
-int gsd_init_mpeg(char *);
+int GS_write_ppm(const char *);
+int gsd_init_mpeg(const char *);
int gsd_write_mpegframe(void);
int gsd_close_mpeg(void);
/* From gsd_img_tif.c */
-int GS_write_tif(char *);
+int GS_write_tif(const char *);
/* From gsd_label.c */
void gs_put_label(char *, GLuint , int , unsigned long, int *);
Property changes on: grass/trunk/lib/nviz
___________________________________________________________________
Name: svn:ignore
+ *.tmp.html
*OBJ*
Modified: grass/trunk/lib/ogsf/gsd_img_mpeg.c
===================================================================
--- grass/trunk/lib/ogsf/gsd_img_mpeg.c 2008-07-01 21:52:49 UTC (rev 31940)
+++ grass/trunk/lib/ogsf/gsd_img_mpeg.c 2008-07-01 21:54:05 UTC (rev 31941)
@@ -274,7 +274,7 @@
\return -1 on failure
\return 0 on success
*/
-int gsd_init_mpeg(char *filename)
+int gsd_init_mpeg(const char *filename)
{
#ifdef HAVE_FFMPEG
GLuint l, r, b, t;
Modified: grass/trunk/lib/ogsf/gsd_img_ppm.c
===================================================================
--- grass/trunk/lib/ogsf/gsd_img_ppm.c 2008-07-01 21:52:49 UTC (rev 31940)
+++ grass/trunk/lib/ogsf/gsd_img_ppm.c 2008-07-01 21:54:05 UTC (rev 31941)
@@ -39,7 +39,7 @@
\return 1 on failure
\return 0 on success
*/
-int GS_write_ppm(char *name)
+int GS_write_ppm(const char *name)
{
unsigned int x;
int y;
@@ -84,7 +84,7 @@
\return 1 on failure
\return 0 on success
*/
-int GS_write_zoom(char *name, unsigned int xsize, unsigned int ysize)
+int GS_write_zoom(const char *name, unsigned int xsize, unsigned int ysize)
{
unsigned int x;
int y;
Modified: grass/trunk/lib/ogsf/gsd_img_tif.c
===================================================================
--- grass/trunk/lib/ogsf/gsd_img_tif.c 2008-07-01 21:52:49 UTC (rev 31940)
+++ grass/trunk/lib/ogsf/gsd_img_tif.c 2008-07-01 21:54:05 UTC (rev 31941)
@@ -34,7 +34,7 @@
#include <grass/gstypes.h>
#include <grass/glocale.h>
-#include "tiffio.h"
+#include <tiffio.h>
unsigned short config = PLANARCONFIG_CONTIG;
unsigned short compression = -1;
@@ -48,7 +48,7 @@
\return 1 on error
\return 0 on success
*/
-int GS_write_tif(char *name)
+int GS_write_tif(const char *name)
{
TIFF *out;
int y, x;
Property changes on: grass/trunk/visualization/nviz2/cmd
___________________________________________________________________
Name: svn:ignore
+ *.tmp.html
*OBJ*
More information about the grass-commit
mailing list