瀏覽代碼

Merge 9683d1f7ef into 69a4213235

pull/70/merge
Johannes Kauffmann GitHub 1 月之前
父節點
當前提交
de12fd9803
沒有發現已知的金鑰在資料庫的簽署中 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.
*/

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)
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 *);

/* 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 */
#if defined PROF


+ 1
- 0
src/common-image.c 查看文件

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

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

#include "common-image.h"



Loading…
取消
儲存