Puma Reference Manual Puma: Puma::CLinkage Class Reference



Puma::CLinkage Class Reference

#include <Puma/CLinkage.h>

List of all members.


Detailed Description

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 {
  LINK_INTERNAL,
  LINK_EXTERNAL,
  LINK_NONE
}
 The linkage types. More...


Member Enumeration Documentation

The linkage types.

Enumerator:
LINK_INTERNAL  Internal linkage.

LINK_EXTERNAL  External linkage.

LINK_NONE  No linkage.




Puma Reference Manual. Created on 11 Jul 2008.