7#include <cx/format/formattable.h>
11typedef struct LogSnapshot LogSnapshot;
12typedef struct LogSnapshot_WeakRef LogSnapshot_WeakRef;
15#define _sti_LogSnapshot _sti_object
16#define SType_LogSnapshot LogSnapshot*
17#define STStorageType_LogSnapshot LogSnapshot*
18#define STypeArg_LogSnapshot(type, val) stgeneric(object, (ObjInst*)objInstCheckClass(LogSnapshot, val))
19#define STypeArgPtr_LogSnapshot(type, val) (stgeneric*)objInstCheckClassPtr(LogSnapshot, val)
20#define STypeCheckedArg_LogSnapshot(type, val) stType(type), stArg(type, val)
21#define STypeCheckedPtrArg_LogSnapshot(type, val) stType(type), stArgPtr(type, val)
23typedef struct LogSnapshot_ClassIf {
28 bool (*format)(_In_
void* self,
FMTVar* v,
string* out);
30extern LogSnapshot_ClassIf LogSnapshot_ClassIf_tmpl;
32typedef struct LogSnapshot {
34 LogSnapshot_ClassIf* _;
35 void* _is_LogSnapshot;
45#define LogSnapshot(inst) objInstCheckClass(LogSnapshot, inst)
46#define LogSnapshotNone ((LogSnapshot*)NULL)
48typedef struct LogSnapshot_WeakRef {
51 void* _is_LogSnapshot_WeakRef;
52 void* _is_ObjInst_WeakRef;
57#define LogSnapshot_WeakRef(inst) objWeakRefCheckClass(LogSnapshot, inst)
61#define logsnapshotCreate(text) LogSnapshot_create(text)
64#define logsnapshotFormat(self, v, out) (self)->_->format(LogSnapshot(self), v, out)
#define saDeclarePtr(name)
#define _objfactory_guaranteed
CX Struct System - Introspectable, serializable POD structures in C.
CX Object System - Object-oriented programming in C.
Format variable descriptor for Formattable interface implementations.