Télécharger des RawSwitch.C.c (RawSwitch.C.c ( lien externe: SourceForge.net): 1,528 octets) va bientôt commencer. Sinon, cliquez sur RawSwitch.C.c ( lien externe: SourceForge.net).

Informations sur le fichier

Taille du fichier
1,528 octets
MD5
6cb1c605b7a836ab2008a5396b490983

Description du projet

This package includes all little macros and utility primitives that my projects use as architectural fundation.

This include:

Genericity:
1 simple macros for translating a pointer to a field to a pointer to it's structure.
2 simple macros for Object inclusion in C.

Memory management:
My projects try to manage memory with a strict stack discipline (when possible).
There are 2 main stacks, only one of which is widely used.
It is also possible to push a stack on a stack, so this is really more a tree than a stack discipline.

Fondement Michtam offers primitives to:

- Setting 2 main stacks.
- The general purpose rStack. By convention, any new created object is stacked on it.
- The pStack used for stocking (short lived) results of intermediate computation.
- Macros for stacking data, Marking and Releasing. If I am not mistaken, this would be the Pascal way of doing things.
- Macro for switching to a local stack when need arise.

And that's it.
Th