projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
memcached: generate SHA1 for records and store blob once
[yaz-moved-to-github.git]
/
src
/
icu_casemap.c
diff --git
a/src/icu_casemap.c
b/src/icu_casemap.c
index
1aa941b
..
a636f92
100644
(file)
--- a/
src/icu_casemap.c
+++ b/
src/icu_casemap.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-30,9
+30,9
@@
struct icu_casemap
char action;
};
char action;
};
-struct icu_casemap * icu_casemap_create(char action, UErrorCode *status)
+struct icu_casemap *icu_casemap_create(char action, UErrorCode *status)
{
{
- struct icu_casemap * casemap
+ struct icu_casemap *casemap
= (struct icu_casemap *) xmalloc(sizeof(struct icu_casemap));
casemap->action = action;
= (struct icu_casemap *) xmalloc(sizeof(struct icu_casemap));
casemap->action = action;
@@
-67,9
+67,9
@@
void icu_casemap_destroy(struct icu_casemap * casemap)
xfree(casemap);
}
xfree(casemap);
}
-int icu_casemap_casemap(struct icu_casemap * casemap,
- struct icu_buf_utf16 * dest16,
- struct icu_buf_utf16 * src16,
+int icu_casemap_casemap(struct icu_casemap *casemap,
+ struct icu_buf_utf16 *dest16,
+ struct icu_buf_utf16 *src16,
UErrorCode *status,
const char *locale)
{
UErrorCode *status,
const char *locale)
{
@@
-81,8
+81,8
@@
int icu_casemap_casemap(struct icu_casemap * casemap,
}
}
-static uint32_t icu_utf16_sub(struct icu_buf_utf16 * dest16,
- struct icu_buf_utf16 * src16,
+static uint32_t icu_utf16_sub(struct icu_buf_utf16 *dest16,
+ struct icu_buf_utf16 *src16,
const char *locale, char action,
UErrorCode *status)
{
const char *locale, char action,
UErrorCode *status)
{
@@
-119,8
+119,8
@@
static uint32_t icu_utf16_sub(struct icu_buf_utf16 * dest16,
}
}
-int icu_utf16_casemap(struct icu_buf_utf16 * dest16,
- struct icu_buf_utf16 * src16,
+int icu_utf16_casemap(struct icu_buf_utf16 *dest16,
+ struct icu_buf_utf16 *src16,
const char *locale, char action,
UErrorCode *status)
{
const char *locale, char action,
UErrorCode *status)
{