RainbowBS Manual: lc-addrlabels.h File Reference

RainbowBS

RainbowBS Manual  v0.1.0
Written by QWQ([email protected])
lc-addrlabels.h File Reference

Macros

#define LC_INIT(s)   s = NULL
 
#define LC_RESUME(s)
 
#define LC_CONCAT2(s1, s2)   s1##s2
 
#define LC_CONCAT(s1, s2)   LC_CONCAT2(s1, s2)
 
#define LC_SET(s)
 
#define LC_END(s)
 

Typedefs

typedef void * lc_t
 

Detailed Description

Implementation of local continuations based on the "Labels as values" feature of gcc

Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

This implementation of local continuations is based on a special feature of the GCC C compiler called "labels as values". This feature allows assigning pointers with the address of the code corresponding to a particular C label.

For more information, see the GCC documentation: http://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html

Generated by   doxygen 1.8.9.1