diff options
Diffstat (limited to 'src/IOJpeg.h')
-rw-r--r-- | src/IOJpeg.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/IOJpeg.h b/src/IOJpeg.h index 89871b7..0fbda45 100644 --- a/src/IOJpeg.h +++ b/src/IOJpeg.h @@ -43,14 +43,14 @@ typedef struct IOJpegGH { } IOJpegGH; /* function prototypes */ -int IOJpeg_Output2DGH (cGH *GH); -int IOJpeg_Output2DVarAs (cGH *GH, const char *fullname, const char *alias); -int IOJpeg_TimeFor2D (cGH *GH, int vindex); -int IOJpeg_TriggerOutput2D (cGH *GH, int vindex); -int IOJpeg_Write2D (cGH *GH, int vindex, const char *alias); -void IOJpeg_DefaultGeo(cGH *GH, int sdim, IOJpegGeo_t *geo); +int IOJpeg_Output2DGH (const cGH *GH); +int IOJpeg_Output2DVarAs (const cGH *GH, const char *fullname, const char *alias); +int IOJpeg_TimeFor2D (const cGH *GH, int vindex); +int IOJpeg_TriggerOutput2D (const cGH *GH, int vindex); +int IOJpeg_Write2D (const cGH *GH, int vindex, const char *alias); +void IOJpeg_DefaultGeo(const cGH *GH, int sdim, IOJpegGeo_t *geo); int IOJpeg_SetDirection (IOJpegGeo_t *geometry, int direction); -int IOJpeg_DumpVar (cGH *GH, int vindex, int timelevel, IOJpegGeo_t *geo, FILE *fid); +int IOJpeg_DumpVar (const cGH *GH, int vindex, int timelevel, IOJpegGeo_t *geo, FILE *fid); int WriteJPEGToFileRGB(int nx, /* width of image in pixels */ int ny, /* height of the image in pixels */ |