change  SWALLOW_DLL to SWALLOW_EXPORT