subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1124197 - in /subversion/trunk/subversion: include/private/svn_temp_serializer.h libsvn_subr/svn_temp_serializer.c
Date Wed, 18 May 2011 11:36:35 GMT
Author: julianfoad
Date: Wed May 18 11:36:35 2011
New Revision: 1124197

URL: http://svn.apache.org/viewvc?rev=1124197&view=rev
Log:
* subversion/include/private/svn_temp_serializer.h
  Add the standard header file include guard and C++ guard.
  Correct the file name where it appears in the file doc string.

* subversion/libsvn_subr/svn_temp_serializer.c
  Correct the file name where it appears in the file doc string.

Modified:
    subversion/trunk/subversion/include/private/svn_temp_serializer.h
    subversion/trunk/subversion/libsvn_subr/svn_temp_serializer.c

Modified: subversion/trunk/subversion/include/private/svn_temp_serializer.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_temp_serializer.h?rev=1124197&r1=1124196&r2=1124197&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_temp_serializer.h (original)
+++ subversion/trunk/subversion/include/private/svn_temp_serializer.h Wed May 18 11:36:35
2011
@@ -20,7 +20,7 @@
  * ====================================================================
  * @endcopyright
  *
- * @file svn_serializer.h
+ * @file svn_temp_serializer.h
  * @brief Helper API for serializing _temporarily_ data structures.
  *
  * @note This API is intended for efficient serialization and duplication
@@ -28,9 +28,16 @@
  *       suitable for persistent data.
  */
 
+#ifndef SVN_TEMP_SERIALIZER_H
+#define SVN_TEMP_SERIALIZER_H
+
 #include <apr.h>
 #include "svn_types.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 /* forward declaration */
 struct svn_stringbuf_t;
 
@@ -185,3 +192,9 @@ svn_temp_deserializer__resolve(void *buf
  */
 const void *
 svn_temp_deserializer__ptr(const void *buffer, const void **ptr);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* SVN_TEMP_SERIALIZER_H */

Modified: subversion/trunk/subversion/libsvn_subr/svn_temp_serializer.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/svn_temp_serializer.c?rev=1124197&r1=1124196&r2=1124197&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/svn_temp_serializer.c (original)
+++ subversion/trunk/subversion/libsvn_subr/svn_temp_serializer.c Wed May 18 11:36:35 2011
@@ -1,5 +1,5 @@
 /*
- * svn_serializer.c: implement the tempoary structure serialization API
+ * svn_temp_serializer.c: implement the tempoary structure serialization API
  *
  * ====================================================================
  *    Licensed to the Apache Software Foundation (ASF) under one



Mime
View raw message