Skip to content

Commit 13866e4

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pxr/base/tf/staticTokens.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
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 macro (e.g., MF_API) as the second argument
33+
/// // if you need the symbols to be exported. Othwerise, the two argument
34+
/// // version `TF_DECLARE_PUBLIC_TOKENS(MfTokens, MF_TOKENS);` is
35+
/// // sufficient.
36+
/// TF_DECLARE_PUBLIC_TOKENS(MfTokens, MF_API, MF_TOKENS);
3337
/// \endcode
3438
///
3539
/// In cpp file:

0 commit comments

Comments
 (0)