PUMA Library Reference Manual
Puma::CLinkage Class Reference

#include <Puma/CLinkage.h>


Linkage of an entity name (object, function, etc). The linkage controls where a name is visible. There are three types of linkage: internal, external, and no linkage. Names with external linkage are visible outside the object file where they occur. Names with internal or no linkage are only visible in one object file.

The linkage is implicitely defined by the scope in which the entity is declared. With the linkage specifier 'extern' an entity name can be explicitely declared to have external linkage.

Public Types

enum  Type {
 The linkage types. More...

Member Enumeration Documentation

◆ Type

The linkage types.


Internal linkage.


External linkage.


No linkage.