Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
512 B

  1. #ifndef SWIGEXPORT
  2. # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
  3. # if defined(STATIC_LINKED)
  4. # define SWIGEXPORT
  5. # else
  6. # define SWIGEXPORT __declspec(dllexport)
  7. # endif
  8. # else
  9. # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
  10. # define SWIGEXPORT __attribute__ ((visibility("default")))
  11. # else
  12. # define SWIGEXPORT
  13. # endif
  14. # endif
  15. #endif
  16. static void *ptr = 0;
  17. SWIGEXPORT void *
  18. SWIG_ReturnGlobalTypeList(void *t) {
  19. if (!ptr && !t) ptr = t;
  20. return ptr;
  21. }