libsheepy
Data Structures | Macros | Typedefs | Functions
libsheepyCUndefined.h File Reference
#include "string.h"
Include dependency graph for libsheepyCUndefined.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  undefinedFunctionst
 class functions allocated once for all objects More...
 
struct  undefined
 class More...
 

Macros

#define createUndefined(obj)   ;undefinedt obj; initiateUndefined(&obj)
 
#define createAllocateUndefined(obj)   ;undefinedt *obj; initiateAllocateUndefined(&obj)
 
#define cleanUndefinedP(name)   undefinedt *name CLEANUP(cleanUpUndefinedTerminateG)
 declare pointer name with type undefinedt and terminate name when it is out of scope More...
 
#define cleanAllocateUndefined(obj)   ;cleanUndefinedP(obj); initiateAllocateUndefined(&obj)
 allocate undefined (pointer) and clean up when it is out of scope More...
 
#define cleanUndefined(name)   undefinedt name CLEANUP(cleanUpUndefinedFreeLocalG); initiateUndefined(&name)
 declare local object name with type undefinedt and free name when it is out of scope More...
 
#define cleanFreeUndefined(name)   undefinedt *name CLEANUP(cleanUpUndefinedFreeG)
 declare pointer name with type undefinedt and free name when it is out of scope More...
 
#define cleanFinishUndefinedP(name)   undefinedt *name CLEANUP(cleanUpUndefinedFinishG)
 declare pointer name with Type undefinedt and finish name when it is out of scope More...
 
#define cleanSmashUndefinedP(name)   undefinedt *name CLEANUP(cleanUpUndefinedSmashG)
 declare pointer name with Type undefinedt and smash name when it is out of scope More...
 

Typedefs

typedef struct undefined undefinedt
 
typedef void(* freeUndefinedFt) (undefinedt *self)
 
typedef void(* terminateUndefinedFt) (undefinedt **self)
 
typedef char *(* toStringUndefinedFt) (undefinedt *self)
 
typedef undefinedt *(* duplicateUndefinedFt) (undefinedt *self)
 
typedef void(* finishUndefinedFt) (undefinedt **self)
 free container More...
 

Functions

void initiateUndefined (undefinedt *self)
 
void initiateAllocateUndefined (undefinedt **self)
 
void finalizeRecycleUndefined (void *arg UNUSED)
 
void finalizeUndefined (void)
 
undefinedtallocUndefined (void)
 
void cleanUpUndefinedTerminateG (undefinedt **val)
 
void cleanUpUndefinedFreeLocalG (undefinedt *val)
 
void cleanUpUndefinedFreeG (undefinedt **val)
 
void cleanUpUndefinedFinishG (undefinedt **val)
 
void cleanUpUndefinedSmashG (undefinedt **val)
 
undefinedtduplicateUndefinedG (undefinedt *self)
 
void freeUndefinedG (undefinedt *self)
 

Macro Definition Documentation

◆ createUndefined

#define createUndefined (   obj)    ;undefinedt obj; initiateUndefined(&obj)

Definition at line 64 of file libsheepyCUndefined.h.

◆ createAllocateUndefined

#define createAllocateUndefined (   obj)    ;undefinedt *obj; initiateAllocateUndefined(&obj)

Definition at line 65 of file libsheepyCUndefined.h.

◆ cleanUndefinedP

#define cleanUndefinedP (   name)    undefinedt *name CLEANUP(cleanUpUndefinedTerminateG)

declare pointer name with type undefinedt and terminate name when it is out of scope

Definition at line 92 of file libsheepyCUndefined.h.

◆ cleanAllocateUndefined

#define cleanAllocateUndefined (   obj)    ;cleanUndefinedP(obj); initiateAllocateUndefined(&obj)

allocate undefined (pointer) and clean up when it is out of scope

Definition at line 97 of file libsheepyCUndefined.h.

◆ cleanUndefined

#define cleanUndefined (   name)    undefinedt name CLEANUP(cleanUpUndefinedFreeLocalG); initiateUndefined(&name)

declare local object name with type undefinedt and free name when it is out of scope

Definition at line 102 of file libsheepyCUndefined.h.

◆ cleanFreeUndefined

#define cleanFreeUndefined (   name)    undefinedt *name CLEANUP(cleanUpUndefinedFreeG)

declare pointer name with type undefinedt and free name when it is out of scope

Definition at line 107 of file libsheepyCUndefined.h.

◆ cleanFinishUndefinedP

#define cleanFinishUndefinedP (   name)    undefinedt *name CLEANUP(cleanUpUndefinedFinishG)

declare pointer name with Type undefinedt and finish name when it is out of scope

Definition at line 112 of file libsheepyCUndefined.h.

◆ cleanSmashUndefinedP

#define cleanSmashUndefinedP (   name)    undefinedt *name CLEANUP(cleanUpUndefinedSmashG)

declare pointer name with Type undefinedt and smash name when it is out of scope

Definition at line 117 of file libsheepyCUndefined.h.

Typedef Documentation

◆ undefinedt

typedef struct undefined undefinedt

Definition at line 27 of file libsheepyCUndefined.h.

◆ freeUndefinedFt

typedef void(* freeUndefinedFt) (undefinedt *self)

Definition at line 29 of file libsheepyCUndefined.h.

◆ terminateUndefinedFt

typedef void(* terminateUndefinedFt) (undefinedt **self)

Definition at line 30 of file libsheepyCUndefined.h.

◆ toStringUndefinedFt

typedef char*(* toStringUndefinedFt) (undefinedt *self)

Definition at line 31 of file libsheepyCUndefined.h.

◆ duplicateUndefinedFt

typedef undefinedt*(* duplicateUndefinedFt) (undefinedt *self)

Definition at line 32 of file libsheepyCUndefined.h.

◆ finishUndefinedFt

typedef void(* finishUndefinedFt) (undefinedt **self)

free container

Definition at line 37 of file libsheepyCUndefined.h.

Function Documentation

◆ initiateUndefined()

void initiateUndefined ( undefinedt self)

Definition at line 54 of file libsheepyCUndefined.c.

Here is the caller graph for this function:

◆ initiateAllocateUndefined()

void initiateAllocateUndefined ( undefinedt **  self)

Definition at line 72 of file libsheepyCUndefined.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ finalizeRecycleUndefined()

void finalizeRecycleUndefined ( void *arg  UNUSED)

Definition at line 90 of file libsheepyCUndefined.c.

Here is the caller graph for this function:

◆ finalizeUndefined()

void finalizeUndefined ( void  )

Definition at line 98 of file libsheepyCUndefined.c.

Here is the caller graph for this function:

◆ allocUndefined()

undefinedt* allocUndefined ( void  )

Definition at line 107 of file libsheepyCUndefined.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cleanUpUndefinedTerminateG()

void cleanUpUndefinedTerminateG ( undefinedt **  val)

Definition at line 117 of file libsheepyCUndefined.c.

◆ cleanUpUndefinedFreeLocalG()

void cleanUpUndefinedFreeLocalG ( undefinedt val)

Definition at line 122 of file libsheepyCUndefined.c.

◆ cleanUpUndefinedFreeG()

void cleanUpUndefinedFreeG ( undefinedt **  val)

Definition at line 127 of file libsheepyCUndefined.c.

◆ cleanUpUndefinedFinishG()

void cleanUpUndefinedFinishG ( undefinedt **  val)

Definition at line 132 of file libsheepyCUndefined.c.

◆ cleanUpUndefinedSmashG()

void cleanUpUndefinedSmashG ( undefinedt **  val)

Definition at line 137 of file libsheepyCUndefined.c.

◆ duplicateUndefinedG()

undefinedt* duplicateUndefinedG ( undefinedt self)

Definition at line 202 of file libsheepyCUndefined.c.

◆ freeUndefinedG()

void freeUndefinedG ( undefinedt self)

Definition at line 207 of file libsheepyCUndefined.c.