From c724cc64871e0e7274b232689c07417e59de5918 Mon Sep 17 00:00:00 2001
From: Piotr Szlachciak
+ The {#syntax#}extern{#endsyntax#} keyword or {#link|@extern#} builtin function can be used to link against a variable that is exported + from another object. The {#syntax#}export{#endsyntax#} keyword or {#link|@export#} builtin function + can be used to make a variable available to other objects at link time. In both cases, + the type of the variable must be C ABI compatible. +
+ {#see_also|Exporting a C Library#} {#header_open|Identifiers#}@@ -1396,13 +1403,6 @@ const Color = enum { }; const color: Color = .@"really red"; {#code_end#} -
- The {#syntax#}extern{#endsyntax#} keyword or {#link|@extern#} builtin function can be used to link against a variable that is exported - from another object. The {#syntax#}export{#endsyntax#} keyword or {#link|@export#} builtin function - can be used to make a variable available to other objects at link time. In both cases, - the type of the variable must be C ABI compatible. -
- {#see_also|Exporting a C Library#} {#header_close#} {#header_open|Container Level Variables#}