Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
Data Structures | Functions
MutableIndexSet.h File Reference

Mutable collections of unique index values. More...

#include <Objectively/IndexSet.h>

Go to the source code of this file.

Data Structures

struct  MutableIndexSet
 Mutable collections of unique index values. More...
 

Functions

OBJECTIVELY_EXPORT Class_MutableIndexSet (void)
 

Detailed Description

Mutable collections of unique index values.

Definition in file MutableIndexSet.h.

Function Documentation

◆ _MutableIndexSet()

OBJECTIVELY_EXPORT Class * _MutableIndexSet ( void  )

Definition at line 211 of file MutableIndexSet.c.

211 {
212 static Class *clazz;
213 static Once once;
214
215 do_once(&once, {
216 clazz = _initialize(&(const ClassDef) {
217 .name = "MutableIndexSet",
218 .superclass = _IndexSet(),
219 .instanceSize = sizeof(MutableIndexSet),
220 .interfaceOffset = offsetof(MutableIndexSet, interface),
221 .interfaceSize = sizeof(MutableIndexSetInterface),
223 });
224 });
225
226 return clazz;
227}
Class * _initialize(const ClassDef *def)
Initializes the given Class.
Definition: Class.c:91
static void initialize(Class *clazz)
long Once
The Once type.
Definition: Once.h:37
#define do_once(once, block)
Executes the given block at most one time.
Definition: Once.h:43
ClassDefs are passed to _initialize via an archetype to initialize a Class.
Definition: Class.h:41
The runtime representation of a Class.
Definition: Class.h:95
Class * _IndexSet(void)
The IndexSet archetype.
Definition: IndexSet.c:218
Mutable collections of unique index values.