Next: , Previous: GTY Options, Up: Type Information



18.2 Marking Roots for the Garbage Collector

In addition to keeping track of types, the type machinery also locates the global variables (roots) that the garbage collector starts at. Roots must be declared using one of the following syntaxes:

The syntax is not accepted. There should be an extern declaration of such a variable in a header somewhere—mark that, not the definition. Or, if the variable is only used in one file, make it static.


Alojamiento con 500GB de espacio y 5000GB de ancho de banda por 4 euros al mes
Cómo contratar servicios de hosting con Dreamhost
Descuento, promocode para dreamhost de $50