mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Refactor: global.h renaming.
This commit is contained in:
parent
945e6c9c0e
commit
19e9b95a71
|
@ -53,8 +53,8 @@ int config_init(config* cfg)
|
|||
*/
|
||||
int config_destroy(config* cfg)
|
||||
{
|
||||
free_pointer(cfg->input);
|
||||
free_pointer(cfg->output);
|
||||
FREE_POINTER(cfg->input);
|
||||
FREE_POINTER(cfg->output);
|
||||
free(cfg);
|
||||
|
||||
return 1;
|
||||
|
|
|
@ -75,6 +75,6 @@
|
|||
#define INLINE inline
|
||||
#endif
|
||||
|
||||
#define free_pointer(pointer) { free(pointer); pointer = NULL; }
|
||||
#define FREE_POINTER(pointer) { free(pointer); pointer = NULL; }
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue