Skip to content

Commit e0d9210

Browse files
committed
Include export/import macro in staticToken documentation
1 parent 434dfd5 commit e0d9210

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pxr/base/tf/staticTokens.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
/// // Syntax when string name differs from symbol.
3030
/// ((foo, "bar"))
3131
///
32-
/// TF_DECLARE_PUBLIC_TOKENS(MfTokens, MF_TOKENS);
32+
/// // Include an export/import API macro as the second argument if you need
33+
/// // the symbols to be exported. Othwerise, the two argument version
34+
/// // `TF_DECLARE_PUBLIC_TOKENS(MfTokens, MF_TOKENS);` is sufficient.
35+
/// TF_DECLARE_PUBLIC_TOKENS(MfTokens, MF_API, MF_TOKENS);
3336
/// \endcode
3437
///
3538
/// In cpp file:

0 commit comments

Comments
 (0)