aboutsummaryrefslogtreecommitdiff
path: root/src/jtutil
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-03-20 10:38:11 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-03-20 10:38:11 +0000
commitd0e68d59bf3b6fd35cc675c6217765f59c63416b (patch)
tree8b0da1b46b91d32c8afa424c93ea97b9cd937ba9 /src/jtutil
parent50838ff81f083789682f9520d940c7e8e999d8b2 (diff)
switch from C++-style to C-style comments in the C section of this
C/C++ header file git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@995 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/jtutil')
-rw-r--r--src/jtutil/util.hh35
1 files changed, 20 insertions, 15 deletions
diff --git a/src/jtutil/util.hh b/src/jtutil/util.hh
index 818f293..997c7a1 100644
--- a/src/jtutil/util.hh
+++ b/src/jtutil/util.hh
@@ -1,23 +1,28 @@
-// util.hh -- stuff for my C++ utility library
-// $Header$
-
-//
-// prerequisites:
-// <stdlib.h> or <string.h> or <stdio.h> // size_t
-// "stdc.h"
-//
-
-//
-// misc string functions (in C, not C++)
-//
+/* util.hh -- stuff for my C++ utility library */
+/* $Header$ */
+
+/*
+ * prerequisites:
+ * <stdlib.h> or <string.h> or <stdio.h> // size_t
+ * "stdc.h"
+ *
+ * This is mainly a C++ header file, but exceptionally (until Tom puts
+ * my latest patches into the Cactus flesh :), it's safe to #include
+ * from C code, to provide a prototype for AHFinderDirect_Strlcat().
+ * Thus we use C comments here.
+ */
+
+/*
+ * misc string functions (in C, not C++)
+ */
#ifdef __cplusplus
extern "C"
#endif
size_t AHFinderDirect_Strlcat(char* dst, const char* src, size_t dst_size);
-//
-// the rest of this file is C++ only
-//
+/*
+ * the rest of this file is C++ only
+ */
#ifdef __cplusplus
namespace jtutil
{