Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.06 KB

externdef.md

File metadata and controls

33 lines (28 loc) · 1.06 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
EXTERNDEF | Microsoft Docs
11/04/2016
cpp-tools
article
EXTERNDEF
C++
EXTERNDEF directive
95a10de6-c345-4428-a2f2-90f7d411dc86
7
corob-msft
corob
ghogen

EXTERNDEF

Defines one or more external variables, labels, or symbols called name whose type is type.

Syntax

  
EXTERNDEF [[langtype]] name:type [[, [[langtype]] name:type]]...  

Remarks

If name is defined in the module, it is treated as PUBLIC. If name is referenced in the module, it is treated as EXTERN. If name is not referenced, it is ignored. The type can be ABS, which imports name as a constant. Normally used in include files.

See Also

Directives Reference