NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
shared_data.c
Go to the documentation of this file.
1
29#include "config.h"
30#include "mutt/lib.h"
31#include "shared_data.h"
32
36void compose_shared_data_free(struct MuttWindow *win, void **ptr)
37{
38 if (!ptr || !*ptr)
39 return;
40
41 FREE(ptr);
42}
43
49{
50 return MUTT_MEM_CALLOC(1, struct ComposeSharedData);
51}
struct ComposeSharedData * compose_shared_data_new(void)
Free the compose shared data.
Definition: shared_data.c:48
void compose_shared_data_free(struct MuttWindow *win, void **ptr)
Free the compose shared data - Implements MuttWindow::wdata_free() -.
Definition: shared_data.c:36
Data shared between Index, Pager and Sidebar.
#define FREE(x)
Definition: memory.h:55
#define MUTT_MEM_CALLOC(n, type)
Definition: memory.h:40
Convenience wrapper for the library headers.
Shared Compose Data.
Definition: shared_data.h:35