Przeglądaj źródła

caca_internals: export _caca_alloc2d

It is used by the image viewer:

/usr/bin/ld: img2txt-common-image.o: in function `load_image':
../../src/common-image.c:164: undefined reference to `_caca_alloc2d'

Fixes #59.
pull/70/head
Johannes Kauffmann 3 lat temu
rodzic
commit
9683d1f7ef
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      caca/caca_internals.h

+ 1
- 1
caca/caca_internals.h Wyświetl plik

@@ -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


Ładowanie…
Anuluj
Zapisz