From 934978acb222556ce97d1b40bf8c35af8d2790d6 Mon Sep 17 00:00:00 2001 From: Votre Nom <Arnaud Blanchard> Date: Mon, 7 Jun 2021 19:05:22 +0200 Subject: [PATCH] Suppression of C compatibility fog compilation. Nedd to be fixed --- include/blc_image.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/blc_image.h b/include/blc_image.h index de6258a..e2b3dc8 100644 --- a/include/blc_image.h +++ b/include/blc_image.h @@ -55,7 +55,7 @@ struct blc_image:blc_array{ #endif START_EXTERN_C - +/* //It is void instead of uin8_t. You have to be careful yourself with the type void blc_UIN8_RGB3_from_UIN8_YUYV(void *dest, void const *src, int elements_nb); void blc_UIN8_Y800_from_UIN8_RGB3(void *dest, void const *src, int elements_nb); @@ -63,7 +63,7 @@ void blc_UIN8_Y800_from_UIN8_YUYV(void *dest, void const *src, int elements_nb); void blc_UIN8_YUYV_from_UIN8_RGB3(void *dest, void const *src, int elements_nb); void blc_UIN8_YUYV_from_UIN8_Y800(void *dest, void const *src, int elements_nb); -/**Return the number of bytes for a pixel of the format. -1 is returned if this data is undefined (i.e. JPEG)*/ +////Return the number of bytes for a pixel of the format. -1 is returned if this data is undefined (i.e. JPEG) int blc_image_get_bytes_per_pixel(blc_array const *image); ///Define an blc_array for containing the image. Do not allocate the memory @@ -77,7 +77,7 @@ void blc_image_convert(blc_array *output, blc_array const *input); /// Copy and downscale by 2 the image. Make the conversion if needed. Be carefull, few checks are done if the memory is not big enough void blc_image_downscale(blc_array *output, blc_array const *input); - +*/ END_EXTERN_C ///@} -- GitLab