CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
objimpl.h File Reference

Implementation helpers for class and interface authors. More...

#include <cx/obj/objiface.h>
#include <cx/obj/objclass.h>
#include <cx/utils/macros/salieri.h>

Go to the source code of this file.

Macros

#define objInstCreate(clsname)   (clsname*)_objInstCreate(&objClassInfoName(clsname))
 
#define objInstInit(inst)   _objInstInit(objInstBase(inst), (inst)->_clsinfo)
 
#define _objinit_guaranteed   _Post_equal_to_(true)
 
#define _objfactory_guaranteed   _Ret_valid_
 
#define _objfactory_check   _Ret_opt_valid_ _Check_return_
 

Functions

intptr objDefaultCmp (void *self, void *other, uint32 flags)
 
uint32 objDefaultHash (void *self, uint32 flags)
 

Detailed Description

Implementation helpers for class and interface authors.

Definition in file objimpl.h.