Am 25.08.2013 15:51, schrieb Jacob Carlborg:
On 2013-08-25 14:17, Benjamin Thaut wrote:

export __gshared int bar;     // this treated as import

I would have guessed that required extern as well to be import.


But as D does not have a Preprocessor and version statements can not be used to replace the usual API macros used in C/C++ we need export to work in a way so that it means both import and export at the same time.

--
Kind Regards
Benjamin Thaut

Reply via email to