Revert "fix bug related to struct dummy and MS linker"

This reverts commit e36e6e11c71cf5ec46a676370e10940c1734bd47.
add missing 'inline' (MSVC)