lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [48/50] [abbrv] git commit: refs/heads/master - Change String#Swap_Chars parameters to int32_t
Date Fri, 11 Oct 2013 13:32:26 GMT
Change String#Swap_Chars parameters to int32_t


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/d099713f
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/d099713f
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/d099713f

Branch: refs/heads/master
Commit: d099713f96c82994363defa8ac4186a2ae231900
Parents: a249e55
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat Sep 28 19:29:11 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Fri Oct 11 15:28:21 2013 +0200

----------------------------------------------------------------------
 clownfish/runtime/core/Clownfish/String.c   | 2 +-
 clownfish/runtime/core/Clownfish/String.cfh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/d099713f/clownfish/runtime/core/Clownfish/String.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/String.c b/clownfish/runtime/core/Clownfish/String.c
index ee5b283..6396dc9 100644
--- a/clownfish/runtime/core/Clownfish/String.c
+++ b/clownfish/runtime/core/Clownfish/String.c
@@ -228,7 +228,7 @@ Str_To_String_IMP(String *self) {
 }
 
 String*
-Str_Swap_Chars_IMP(String *self, uint32_t match, uint32_t replacement) {
+Str_Swap_Chars_IMP(String *self, int32_t match, int32_t replacement) {
     CharBuf *charbuf = CB_new(self->size);
     StackStringIterator *iter = STR_STACKTOP(self);
     int32_t code_point;

http://git-wip-us.apache.org/repos/asf/lucy/blob/d099713f/clownfish/runtime/core/Clownfish/String.cfh
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/String.cfh b/clownfish/runtime/core/Clownfish/String.cfh
index 4d18706..ff4047a 100644
--- a/clownfish/runtime/core/Clownfish/String.cfh
+++ b/clownfish/runtime/core/Clownfish/String.cfh
@@ -131,7 +131,7 @@ class Clownfish::String cnick Str
      * @return a new String with the characters replaced.
      */
     incremented String*
-    Swap_Chars(String *self, uint32_t match, uint32_t replacement);
+    Swap_Chars(String *self, int32_t match, int32_t replacement);
 
     public int64_t
     To_I64(String *self);


Mime
View raw message