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