caca_internals.h (libcaca-0.99.beta19) | : | caca_internals.h (libcaca-0.99.beta20.tar.bz2) | ||
---|---|---|---|---|
/* | /* | |||
* libcaca Colour ASCII-Art library | * libcaca Colour ASCII-Art library | |||
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net> | * Copyright © 2002—2021 Sam Hocevar <sam@hocevar.net> | |||
* All Rights Reserved | * All Rights Reserved | |||
* | * | |||
* This library is free software. It comes without any warranty, to | * This library is free software. It comes without any warranty, to | |||
* the extent permitted by applicable law. You can redistribute it | * the extent permitted by applicable law. You can redistribute it | |||
* and/or modify it under the terms of the Do What the Fuck You Want | * and/or modify it under the terms of the Do What the Fuck You Want | |||
* to Public License, Version 2, as published by Sam Hocevar. See | * to Public License, Version 2, as published by Sam Hocevar. See | |||
* http://www.wtfpl.net/ for more details. | * http://www.wtfpl.net/ for more details. | |||
*/ | */ | |||
#ifndef __CACA_INTERNALS_H__ | #ifndef __CACA_INTERNALS_H__ | |||
#define __CACA_INTERNALS_H__ | #define __CACA_INTERNALS_H__ | |||
skipping to change at line 262 | skipping to change at line 262 | |||
/* Internal event functions */ | /* Internal event functions */ | |||
extern void _caca_handle_resize(caca_display_t *); | extern void _caca_handle_resize(caca_display_t *); | |||
#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) || defined( USE_GL) | #if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) || defined( USE_GL) | |||
extern void _push_event(caca_display_t *, caca_privevent_t *); | extern void _push_event(caca_display_t *, caca_privevent_t *); | |||
extern int _pop_event(caca_display_t *, caca_privevent_t *); | extern int _pop_event(caca_display_t *, caca_privevent_t *); | |||
#endif | #endif | |||
/* Internal window functions */ | /* Internal window functions */ | |||
extern void _caca_set_term_title(char const *); | 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); | ||||
/* Profiling functions */ | /* Profiling functions */ | |||
#if defined PROF | #if defined PROF | |||
extern void _caca_dump_stats(void); | extern void _caca_dump_stats(void); | |||
extern void _caca_init_stat(struct caca_stat *, char const *, ...); | extern void _caca_init_stat(struct caca_stat *, char const *, ...); | |||
extern void _caca_fini_stat(struct caca_stat *); | extern void _caca_fini_stat(struct caca_stat *); | |||
#endif | #endif | |||
#endif /* __CACA_INTERNALS_H__ */ | #endif /* __CACA_INTERNALS_H__ */ | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 6 lines changed or added |