eĿlipsis
a language independent preprocessor
 
Loading...
Searching...
No Matches
ellipsis-move.h
Go to the documentation of this file.
1#unit ¤¤∷move
2#include_directives <ellipsis-move-macro.h>
3
4/*^
5 ** @brief Move a `¤¤` 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 ¤(¤¤* __LOC_NEW[restrict static 1], ¤¤**restrict __LOC_NEW) {
13 ELLIPSIS_MOVE(__LOC(1, 1), __LOC(0, 1), ¤¤∷delete)
14}
#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
#define ¤¤
shortcut for __PARENT_UNIT__
Definition ellipsis-predefined.dirs:115