summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-09-11 12:52:31 (GMT)
committerBrad King <brad.king@kitware.com>2002-09-11 12:52:31 (GMT)
commit994e30091436a22c035bc378c525ad90355a9d20 (patch)
tree89fc234b37265b4c1863a133c1044c93554c655d /Source
parentd9326ed78d66bc7d408699d948e117764f3c6edf (diff)
downloadCMake-994e30091436a22c035bc378c525ad90355a9d20.zip
CMake-994e30091436a22c035bc378c525ad90355a9d20.tar.gz
CMake-994e30091436a22c035bc378c525ad90355a9d20.tar.bz2
ERR: Removed C++-style comments, used C-style instead.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDynamicLoaderC.c43
1 files changed, 23 insertions, 20 deletions
diff --git a/Source/cmDynamicLoaderC.c b/Source/cmDynamicLoaderC.c
index 51007f0..032a613 100644
--- a/Source/cmDynamicLoaderC.c
+++ b/Source/cmDynamicLoaderC.c
@@ -14,16 +14,19 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
-// This file is actually 4 different implementations.
-// 1. HP machines which uses shl_load
-// 2. Apple OSX which uses NSLinkModule
-// 3. Windows which uses LoadLibrary
-// 4. Most unix systems which use dlopen (default )
-// Each part of the ifdef contains a complete implementation for
-// the static methods of cmDynamicLoader.
-
-// Ugly stuff for library handles
-// They are different on several different OS's
+
+/*
+ * This file is actually 4 different implementations.
+ * 1. HP machines which uses shl_load
+ * 2. Apple OSX which uses NSLinkModule
+ * 3. Windows which uses LoadLibrary
+ * 4. Most unix systems which use dlopen (default )
+ * Each part of the ifdef contains a complete implementation for
+ * the static methods of cmDynamicLoader.
+ */
+
+/* Ugly stuff for library handles. They are different on several
+ different OS's */
#if defined(__hpux)
# include <dl.h>
typedef shl_t cmLibHandle;
@@ -36,8 +39,8 @@
typedef void (*cmDynamicLoaderFunction)();
-// ---------------------------------------------------------------
-// 1. Implementation for HPUX machines
+/* --------------------------------------------------------------- */
+/* 1. Implementation for HPUX machines */
#ifdef __hpux
#define CMDYNAMICLOADER_DEFINED 1
#include <dl.h>
@@ -54,8 +57,8 @@ cmDynamicLoaderFunction cmDynamicLoaderGetSymbolAddress(cmLibHandle lib,
#endif
-// ---------------------------------------------------------------
-// 2. Implementation for Darwin (including OSX) Machines
+/* --------------------------------------------------------------- */
+/* 2. Implementation for Darwin (including OSX) Machines */
#ifdef __APPLE__
#define CMDYNAMICLOADER_DEFINED
@@ -78,8 +81,8 @@ cmDynamicLoaderFunction cmDynamicLoaderGetSymbolAddress(cmLibHandle lib,
#endif
-// ---------------------------------------------------------------
-// 3. Implementation for Windows win32 code
+/* --------------------------------------------------------------- */
+/* 3. Implementation for Windows win32 code */
#ifdef _WIN32
#include <windows.h>
#define CMDYNAMICLOADER_DEFINED 1
@@ -99,12 +102,12 @@ cmDynamicLoaderFunction cmDynamicLoaderGetSymbolAddress(cmLibHandle lib,
}
#endif
-// ---------------------------------------------------------------
-// 4. Implementation for default UNIX machines.
-// if nothing has been defined then use this
+/* --------------------------------------------------------------- */
+/* 4. Implementation for default UNIX machines.
+ if nothing has been defined then use this */
#ifndef CMDYNAMICLOADER_DEFINED
#define CMDYNAMICLOADER_DEFINED
-// Setup for most unix machines
+/* Setup for most unix machines */
#include <dlfcn.h>
cmDynamicLoaderFunction cmDynamicLoaderGetSymbolAddress(cmLibHandle lib,