Skip to content

Commit

Permalink
Fri Aug 23 12:14:45 CEST 2002 Paolo Molaro <lupus@ximian.com>
Browse files Browse the repository at this point in the history
	* string-icalls.[ch]: make helper methods static.

svn path=/trunk/mono/; revision=6935
  • Loading branch information
illupus committed Aug 23, 2002
1 parent a1d3678 commit a664a96
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions mono/metadata/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

Fri Aug 23 12:14:45 CEST 2002 Paolo Molaro <lupus@ximian.com>

* string-icalls.[ch]: make helper methods static.

2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: re-applied patch to GetValueInternal. Also added R4 and R8
Expand Down
12 changes: 10 additions & 2 deletions mono/metadata/string-icalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
#include <mono/metadata/unicode.h>
#include <mono/metadata/exception.h>

/* Internal helper methods */

static gboolean
string_icall_is_in_array (MonoArray *chars, gint32 arraylength, gunichar2 chr);

static gint32
string_icall_cmp_char (gunichar2 c1, gunichar2 c2, gint16 mode);

MonoString *
ves_icall_System_String_ctor_charp (gpointer dummy, gunichar2 *value)
{
Expand Down Expand Up @@ -419,7 +427,7 @@ ves_icall_System_String_InternalSplit (MonoString *me, MonoArray *separator, gin
return retarr;
}

gboolean
static gboolean
string_icall_is_in_array (MonoArray *chars, gint32 arraylength, gunichar2 chr)
{
gunichar2 cmpchar;
Expand Down Expand Up @@ -780,7 +788,7 @@ ves_icall_System_String_get_Chars (MonoString *me, gint32 idx)
1 = StringCompareModeCaseInsensitive
2 = StringCompareModeOrdinal
*/
gint32
static gint32
string_icall_cmp_char (gunichar2 c1, gunichar2 c2, gint16 mode)
{
gint32 result;
Expand Down
8 changes: 0 additions & 8 deletions mono/metadata/string-icalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,4 @@ ves_icall_System_String_GetHashCode (MonoString *me);
gunichar2
ves_icall_System_String_get_Chars (MonoString *me, gint32 idx);

/* Internal helper methods */

gboolean
string_icall_is_in_array (MonoArray *chars, gint32 arraylength, gunichar2 chr);

gint32
string_icall_cmp_char (gunichar2 c1, gunichar2 c2, gint16 mode);

#endif /* _MONO_CLI_STRING_ICALLS_H_ */

0 comments on commit a664a96

Please sign in to comment.