eĿlipsis
a language independent preprocessor
 
Loading...
Searching...
No Matches
ellipsis-cmove.h
Go to the documentation of this file.
1#unit ¤¤
2#include_directives <ellipsis-move-macro.h>
3
4/*^
5 ** @brief Move a `¤ const` pointed to by the second parameter to the one pointed to by the first.
6 **
7 ** If `target` is not null before, the old pointed-to object is
8 ** deleted.
9 **
10 ** @memberof ¤
11 ^*/
12inline void ¤∷cmove(¤ const* __LOC_NEW[restrict static 1], ¤ const**restrict __LOC_NEW) {
13 ELLIPSIS_MOVE(__LOC(1, 1), __LOC(0, 1), ¤∷delete)
14}
void ¤∷cmove(¤ const *__LOC_NEW[restrict static 1], ¤ const **restrict __LOC_NEW)
Definition ellipsis-cmove.h:12
#define __LOC_NEW
create a new identifier in the current scope of {}
Definition ellipsis-loc.h:3
#define __LOC(POS0, POS1)
refer to an identifier created with __LOC_NEW
Definition ellipsis-loc.h:2
#define ELLIPSIS_MOVE(TARGET, SOURCE, FREE)
Free the contents of TARGET and move the contents of SOURCE to TARGET.
Definition ellipsis-move-macro.h:8
#define ¤
shortcut for __UNIT__
Definition ellipsis-predefined.dirs:114