Derive-C
Loading...
Searching...
No Matches
trait.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TRAIT_CLONEABLE(SELF)
#define TRAIT_DELETABLE(SELF)

Macro Definition Documentation

◆ TRAIT_CLONEABLE

#define TRAIT_CLONEABLE ( SELF)
Value:
static SELF clone(SELF const *self)
Definition template.h:246
#define REQUIRE_METHOD(ret, obj, name, args)
Definition require.h:17
#define SELF
Definition def.h:52

Definition at line 3 of file trait.h.

◆ TRAIT_DELETABLE

#define TRAIT_DELETABLE ( SELF)
Value:
REQUIRE_METHOD(void, SELF, delete, (SELF*));

Definition at line 5 of file trait.h.