Objectively
Ultra-lightweight object oriented framework for GNU C.
Loading...
Searching...
No Matches
IndexSet.h File Reference

Collections of unique index values. More...

Go to the source code of this file.

Data Structures

struct  IndexSet
 Collections of unique index values. More...
 

Functions

OBJECTIVELY_EXPORT Class_IndexSet (void)
 

Detailed Description

Collections of unique index values.

Definition in file IndexSet.h.

Function Documentation

◆ _IndexSet()

OBJECTIVELY_EXPORT Class * _IndexSet ( void  )

Definition at line 370 of file IndexSet.c.

370 {
371 static Class *clazz;
372 static Once once;
373
374 do_once(&once, {
375 clazz = _initialize(&(const ClassDef) {
376 .name = "IndexSet",
377 .superclass = _Object(),
378 .instanceSize = sizeof(IndexSet),
379 .interfaceOffset = offsetof(IndexSet, interface),
380 .interfaceSize = sizeof(IndexSetInterface),
382 });
383 });
384
385 return clazz;
386}
Class * _initialize(const ClassDef *def)
Initializes the given Class.
Definition Class.c:86
static void initialize(Class *clazz)
Definition IndexSet.c:344
Class * _Object(void)
Definition Object.c:136
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
Collections of unique index values.
Definition IndexSet.h:41