08/07/2021 21:21, Tyler Retzlaff: > (2) importing exported data symbols from a dll/dso on windows requires > that the symbol be decorated with dllimport. optionally loading > performance of dll/dso is also further improved by decorating > exported function symbols. [3] > > for (2) we would propose the introduction and use of two macros to > allow decoration of exported data symbols. these macro would be or > similarly named __rte_import and __rte_export. of note
That's the same symbol declared in a single place which is exported and imported. So I don't understand the need for 2 macros.