testDynloadUse.c 379 B

123456789101112131415
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
  3. #include "testDynloadImpl.h"
  4. #ifdef _WIN32
  5. # define DL_EXPORT __declspec(dllexport)
  6. #else
  7. # define DL_EXPORT
  8. #endif
  9. DL_EXPORT int TestLoad()
  10. {
  11. TestDynamicLoaderImplSymbolPointer();
  12. return TestDynamicLoaderImplData;
  13. }