![]() |
Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
|
mcr_Instance Example and abstraction of an interface instance. More...
#include "mcr/base/interface.h"Go to the source code of this file.
Classes | |
| struct | mcr_Instance |
Functions | |
| MCR_API void | mcr_Instance_init (struct mcr_Instance *instancePt) |
| MCR_API void | mcr_Instance_deinit (struct mcr_Instance *instancePt) |
| MCR_API size_t | mcr_Instance_id (struct mcr_Instance *instancePt) |
| MCR_API bool | mcr_Instance_heap (struct mcr_Instance *instancePt) |
| MCR_API int | mcr_Instance_set_interface (struct mcr_Instance *instancePt, struct mcr_Interface *interfacePt) |
| MCR_API int | mcr_Instance_clear (struct mcr_Instance *instancePt) |
| MCR_API int | mcr_Instance_reset (struct mcr_Instance *instancePt) |
| MCR_API int | mcr_Instance_compare (const struct mcr_Instance *lhsPt, const struct mcr_Instance *rhsPt) |
| MCR_API int | mcr_Instance_copy (struct mcr_Instance *dstPt, const struct mcr_Instance *srcPt) |
mcr_Instance Example and abstraction of an interface instance.
All instance implementations should begin with mcr_Interface *, and then a mcr_DataMember structure.
Definition in file instance.h.
| MCR_API int mcr_Instance_clear | ( | struct mcr_Instance * | instancePt | ) |
| MCR_API int mcr_Instance_compare | ( | const struct mcr_Instance * | lhsPt, |
| const struct mcr_Instance * | rhsPt | ||
| ) |
| MCR_API int mcr_Instance_copy | ( | struct mcr_Instance * | dstPt, |
| const struct mcr_Instance * | srcPt | ||
| ) |
| MCR_API void mcr_Instance_deinit | ( | struct mcr_Instance * | instancePt | ) |
| MCR_API bool mcr_Instance_heap | ( | struct mcr_Instance * | instancePt | ) |
| MCR_API size_t mcr_Instance_id | ( | struct mcr_Instance * | instancePt | ) |
| MCR_API void mcr_Instance_init | ( | struct mcr_Instance * | instancePt | ) |
| MCR_API int mcr_Instance_reset | ( | struct mcr_Instance * | instancePt | ) |
| MCR_API int mcr_Instance_set_interface | ( | struct mcr_Instance * | instancePt, |
| struct mcr_Interface * | interfacePt | ||
| ) |