Commit fe55f163 by Ben Straub

API updates for message.h

parent eac76956
...@@ -23,7 +23,7 @@ GIT_BEGIN_DECL ...@@ -23,7 +23,7 @@ GIT_BEGIN_DECL
* *
* Optionally, can remove lines starting with a "#". * Optionally, can remove lines starting with a "#".
* *
* @param message_out The user allocated buffer which will be filled with * @param out The user-allocated buffer which will be filled with
* the cleaned up message. Pass NULL if you just want to get the size of the * the cleaned up message. Pass NULL if you just want to get the size of the
* prettified message as the output value. * prettified message as the output value.
* *
...@@ -36,7 +36,11 @@ GIT_BEGIN_DECL ...@@ -36,7 +36,11 @@ GIT_BEGIN_DECL
* @return -1 on error, else number of characters in prettified message * @return -1 on error, else number of characters in prettified message
* including the trailing NUL byte * including the trailing NUL byte
*/ */
GIT_EXTERN(int) git_message_prettify(char *message_out, size_t buffer_size, const char *message, int strip_comments); GIT_EXTERN(int) git_message_prettify(
char *out,
size_t buffer_size,
const char *message,
int strip_comments);
/** @} */ /** @} */
GIT_END_DECL GIT_END_DECL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment