git » fp-git.git » commit a24dc2a

added const to the interface

author ecalot
2004-06-21 21:49:11 UTC
committer ecalot
2004-06-21 21:49:11 UTC
parent 9c55692d7dfdf1b59465fcea8f14a425da11b5ca

added const to the interface

FP/src/include/output.h +1 -1

diff --git a/FP/src/include/output.h b/FP/src/include/output.h
index 7a9b8ec..07455d0 100644
--- a/FP/src/include/output.h
+++ b/FP/src/include/output.h
@@ -49,7 +49,7 @@ void outputPlayMid(tMemory music); /* Starts the music reproduction and returns
 /* Graph */
 
  /* Graph: Primitives for resources module */
-void* outputLoadBitmap(unsigned char* data, int size, unsigned char* palette, int h,int w,int invert, int firstColorTransparent);
+void* outputLoadBitmap(const unsigned char* data, int size, const unsigned char* palette, int h,int w,int invert, int firstColorTransparent);
 	/* Returns an abstract object allocated in memory using the data information ti build it
 	* invert is 0 when no invertion is needed and non-zero when an inversion is performed
 	*/