[Gnucash-changes] r13114 - gnucash/trunk/lib/libqof/qof -
line-wrapping tweak
Neil Williams
codehelp at cvs.gnucash.org
Sun Feb 5 05:57:29 EST 2006
Author: codehelp
Date: 2006-02-05 05:57:28 -0500 (Sun, 05 Feb 2006)
New Revision: 13114
Trac: http://svn.gnucash.org/trac/changeset/13114
Modified:
gnucash/trunk/lib/libqof/qof/gnc-engine-util.h
Log:
line-wrapping tweak
Modified: gnucash/trunk/lib/libqof/qof/gnc-engine-util.h
===================================================================
--- gnucash/trunk/lib/libqof/qof/gnc-engine-util.h 2006-02-05 10:51:04 UTC (rev 13113)
+++ gnucash/trunk/lib/libqof/qof/gnc-engine-util.h 2006-02-05 10:57:28 UTC (rev 13114)
@@ -226,7 +226,8 @@
/** Search for str2 in first nchar chars of str1, ignore case. Return
* pointer to first match, or null. These are just like that strnstr
* and the strstr functions, except that they ignore the case. */
-extern char *strncasestr(const unsigned char *str1, const unsigned char *str2, size_t len);
+extern char *strncasestr(const unsigned char *str1, const unsigned char *str2,
+ size_t len);
extern char *strcasestr(const char *str1, const char *str2);
/** The ultostr() subroutine is the inverse of strtoul(). It accepts a
@@ -308,13 +309,13 @@
#define CACHE_INSERT(str) gnc_string_cache_insert((gconstpointer)(str))
#define CACHE_REMOVE(str) gnc_string_cache_remove((str))
-/* Replace cached string currently in 'dst' with string in 'src'.
- * Typical usage:
+/* Replace cached string currently in 'dst' with string in 'src'.
+ * Typical usage:
* void foo_set_name(Foo *f, const char *str) {
* CACHE_REPLACE(f->name, str);
* }
- * It avoids unnecessary ejection by doing INSERT before REMOVE.
-*/
+ * It avoids unnecessary ejection by doing INSERT before REMOVE.
+*/
#define CACHE_REPLACE(dst, src) do { \
gpointer tmp = CACHE_INSERT((src)); \
CACHE_REMOVE((dst)); \
More information about the gnucash-changes
mailing list