gimp_composite_dispatch() doesn't have a return value, made it a void
2003-07-22 Sven Neumann <sven@gimp.org> * app/composite/gimp-composite.[ch]: gimp_composite_dispatch() doesn't have a return value, made it a void function.
This commit is contained in:

committed by
Sven Neumann

parent
e8cba85137
commit
e1bdbd9fa3
@ -1,11 +1,16 @@
|
|||||||
|
2003-07-22 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/composite/gimp-composite.[ch]: gimp_composite_dispatch()
|
||||||
|
doesn't have a return value, made it a void function.
|
||||||
|
|
||||||
2003-07-21 Helvetix Victorinox <helvetix@gimp.org>
|
2003-07-21 Helvetix Victorinox <helvetix@gimp.org>
|
||||||
|
|
||||||
* app/composite/make-gimp-composite-dispatch.py: big code cleanup.
|
* app/composite/make-gimp-composite-dispatch.py: big code cleanup.
|
||||||
|
|
||||||
* app/composite/Makefile.am: removed references to $(builddir)
|
* app/composite/Makefile.am: removed references to $(builddir)
|
||||||
|
|
||||||
* app/composite/test-composite.c: cleanup, preparation for transition to
|
* app/composite/test-composite.c: cleanup, preparation for
|
||||||
automatically generated regression testing code.
|
transition to automatically generated regression testing code.
|
||||||
|
|
||||||
* app/composite/gimp-composite.c: Clean up of typedef usage
|
* app/composite/gimp-composite.c: Clean up of typedef usage
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ struct {
|
|||||||
extern char *gimp_composite_function_name[GIMP_COMPOSITE_N][GIMP_PIXELFORMAT_N][GIMP_PIXELFORMAT_N][GIMP_PIXELFORMAT_N];
|
extern char *gimp_composite_function_name[GIMP_COMPOSITE_N][GIMP_PIXELFORMAT_N][GIMP_PIXELFORMAT_N][GIMP_PIXELFORMAT_N];
|
||||||
extern void (*gimp_composite_function[GIMP_COMPOSITE_N][GIMP_PIXELFORMAT_N][GIMP_PIXELFORMAT_N][GIMP_PIXELFORMAT_N]);
|
extern void (*gimp_composite_function[GIMP_COMPOSITE_N][GIMP_PIXELFORMAT_N][GIMP_PIXELFORMAT_N][GIMP_PIXELFORMAT_N]);
|
||||||
|
|
||||||
GimpCompositeFunction
|
void
|
||||||
gimp_composite_dispatch(GimpCompositeContext *ctx)
|
gimp_composite_dispatch(GimpCompositeContext *ctx)
|
||||||
{
|
{
|
||||||
void (*function)();
|
void (*function)();
|
||||||
@ -188,9 +188,9 @@ gimp_composite_dispatch(GimpCompositeContext *ctx)
|
|||||||
|
|
||||||
if (function)
|
if (function)
|
||||||
(*function)(ctx);
|
(*function)(ctx);
|
||||||
else {
|
else
|
||||||
printf("unsupported composite operation %d %d %d (see gimp-composite.h)\n", ctx->op, ctx->pixelformat_A, ctx->pixelformat_B);
|
printf("unsupported composite operation %d %d %d (see gimp-composite.h)\n",
|
||||||
}
|
ctx->op, ctx->pixelformat_A, ctx->pixelformat_B);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -145,7 +145,7 @@ struct GimpCompositeOptions {
|
|||||||
|
|
||||||
extern struct GimpCompositeOptions gimp_composite_options;
|
extern struct GimpCompositeOptions gimp_composite_options;
|
||||||
|
|
||||||
extern GimpCompositeFunction gimp_composite_dispatch(GimpCompositeContext *);
|
extern void gimp_composite_dispatch(GimpCompositeContext *);
|
||||||
extern void gimp_composite_init(void);
|
extern void gimp_composite_init(void);
|
||||||
extern void gimp_composite_context_print(GimpCompositeContext *);
|
extern void gimp_composite_context_print(GimpCompositeContext *);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user