[PPL-devel] [GIT] ppl/ppl(master): Moved ppl_io_wrap_string documentation.

Abramo Bagnara abramo.bagnara at gmail.com
Fri Mar 27 18:51:01 CET 2009


Module: ppl/ppl
Branch: master
Commit: 94987fdd7ee4fba86268b2b165b0196a6d01b8ce
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=94987fdd7ee4fba86268b2b165b0196a6d01b8ce

Author: Abramo Bagnara <abramo.bagnara at gmail.com>
Date:   Fri Mar 27 18:51:30 2009 +0100

Moved ppl_io_wrap_string documentation.

---

 interfaces/C/ppl_c_header.h |   46 +++++++++++++++++++++---------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/interfaces/C/ppl_c_header.h b/interfaces/C/ppl_c_header.h
index 90eee9a..45a69d1 100644
--- a/interfaces/C/ppl_c_header.h
+++ b/interfaces/C/ppl_c_header.h
@@ -398,6 +398,29 @@ ppl_io_set_variable_output_function(ppl_io_variable_output_function_type* p);
 int
 ppl_io_get_variable_output_function(ppl_io_variable_output_function_type** pp);
 
+/*! \brief Helper function for the wrapping of lines from C.
+
+  \param src_string
+  The source string holding the lines to wrap.
+
+  \param indent_depth
+  The indentation depth.
+
+  \param preferred_first_line_length
+  The preferred length for the first line of text.
+
+  \param preferred_line_length
+  The preferred length for all the lines but the first one.
+
+  \return
+  The wrapped string in a mallocated buffer.
+*/
+char*
+ppl_io_wrap_string(const char* src,
+		   unsigned indent_depth,
+		   unsigned preferred_first_line_length,
+		   unsigned preferred_line_length);
+
 /*@}*/ /* Datatypes */
 
 #undef PPL_TYPE_DECLARATION
@@ -578,29 +601,6 @@ ppl_io_fprint_##Type PPL_PROTO((FILE* stream, ppl_const_##Type##_t x)); \
 int                                                                     \
 ppl_io_asprint_##Type PPL_PROTO((char** strp, ppl_const_##Type##_t x));
 
-/*! Helper function for the wrapping of lines from C.
-
-  \param src_string
-  The source string holding the lines to wrap.
-
-  \param indent_depth
-  The indentation depth.
-
-  \param preferred_first_line_length
-  The preferred length for the first line of text.
-
-  \param preferred_line_length
-  The preferred length for all the lines but the first one.
-
-  \return
-  The wrapped string in a mallocated buffer.
-*/
-char*
-ppl_io_wrap_string(const char* src,
-		   unsigned indent_depth,
-		   unsigned preferred_first_line_length,
-		   unsigned preferred_line_length);
-
 #define PPL_DECLARE_ASCII_DUMP_LOAD_FUNCTIONS(Type) \
 /*! \relates ppl_##Type##_tag */                    \
 int                                                 \




More information about the PPL-devel mailing list