eĿlipsis
a language independent preprocessor
Loading...
Searching...
No Matches
ellipsis-move-macro.h
Go to the documentation of this file.
1
# once ELLIPSIS_MOVE
2
# include_directives ⟨ellipsis-loc.h⟩
3
8
# define ELLIPSIS_MOVE(TARGET, SOURCE, FREE) \
9
/*>*/
if (*TARGET)
/*^*/
\
10
/*>*/
/*>*/
FREE((void*)*TARGET);
/*^*/
\
11
/*>*/
if (SOURCE) {
/*^*/
\
12
/*>*/
/*>*/
*TARGET = *SOURCE;
/*^*/
\
13
/*>*/
/*>*/
*SOURCE = nullptr;
/*^*/
\
14
/*>*/
} else {
/*^*/
\
15
/*>*/
/*>*/
*TARGET = nullptr;
/*^*/
\
16
/*>*/
}
/*^*/
\
17
include
c
ellipsis-move-macro.h
Generated by
1.9.8
eĿlipsis
20250219
© 2025 Jens Gustedt
eĿlipsis
20250219