ProcessWin32Kill.h.in 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*=========================================================================
  2. Program: KWSys - Kitware System Library
  3. Module: $RCSfile$
  4. Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
  5. See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even
  7. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  8. PURPOSE. See the above copyright notices for more information.
  9. =========================================================================*/
  10. #ifndef @KWSYS_NAMESPACE@_ProcessWin32Kill_h
  11. #define @KWSYS_NAMESPACE@_ProcessWin32Kill_h
  12. #include <@KWSYS_NAMESPACE@/Configure.h>
  13. /* Redefine all public interface symbol names to be in the proper
  14. namespace. These macros are used internally to kwsys only, and are
  15. not visible to user code. Use kwsysHeaderDump.pl to reproduce
  16. these macros after making changes to the interface. */
  17. #define kwsys_ns(x) @KWSYS_NAMESPACE@##x
  18. #define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT
  19. #define kwsysProcessWin32Kill kwsys_ns(ProcessWin32Kill)
  20. #if defined(__cplusplus)
  21. extern "C"
  22. {
  23. #endif
  24. kwsysEXPORT int kwsysProcessWin32Kill(int pid);
  25. #if defined(__cplusplus)
  26. } /* extern "C" */
  27. #endif
  28. /* If we are building a kwsysProcess .c file, let it use these macros.
  29. Otherwise, undefine them to keep the namespace clean. */
  30. #if !defined(KWSYS_IN_PROCESS_C)
  31. # undef kwsys_ns
  32. # undef kwsysEXPORT
  33. # undef kwsysProcessWin32Kill
  34. #endif
  35. #endif