Johannes Kauffmann GitHub пре 1 месец
родитељ
комит
de12fd9803
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
3 измењених фајлова са 3 додато и 2 уклоњено
  1. +1
    -1
      caca/caca.c
  2. +1
    -1
      caca/caca_internals.h
  3. +1
    -0
      src/common-image.c

+ 1
- 1
caca/caca.c Прегледај датотеку

@@ -284,7 +284,7 @@ char const * caca_get_version(void)
* XXX: The following functions are private. * XXX: The following functions are private.
*/ */


extern void *_caca_alloc2d(size_t width, size_t height, size_t elem_size)
void *_caca_alloc2d(size_t width, size_t height, size_t elem_size)
{ {
if (width == 0 || height == 0 || elem_size == 0 || SIZE_MAX / width / height < elem_size) if (width == 0 || height == 0 || elem_size == 0 || SIZE_MAX / width / height < elem_size)
return NULL; return NULL;


+ 1
- 1
caca/caca_internals.h Прегледај датотеку

@@ -268,7 +268,7 @@ extern int _caca_pop_event(caca_display_t *, caca_privevent_t *);
extern void _caca_set_term_title(char const *); extern void _caca_set_term_title(char const *);


/* Internal memory function */ /* Internal memory function */
extern void *_caca_alloc2d(size_t width, size_t height, size_t elem_size);
__extern void *_caca_alloc2d(size_t width, size_t height, size_t elem_size);


/* Profiling functions */ /* Profiling functions */
#if defined PROF #if defined PROF


+ 1
- 0
src/common-image.c Прегледај датотеку

@@ -22,6 +22,7 @@
#endif #endif


#include "caca.h" #include "caca.h"
#include "caca_internals.h"


#include "common-image.h" #include "common-image.h"




Loading…
Откажи
Сачувај