2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mono-debugger.git] / mono / metadata / string-icalls.h
blob288f260ee3812819acb38057a8fda5f18618bdac
1 #ifndef _MONO_CLI_STRING_ICALLS_H_
2 #define _MONO_CLI_STRING_ICALLS_H_
4 /*
5 * string-icalls.h: String internal calls for the corlib
7 * Author:
8 * Patrik Torstensson (patrik.torstensson@labs2.com)
10 * (C) 2001 Ximian, Inc.
13 #include <mono/metadata/class.h>
14 #include <mono/metadata/object.h>
15 #include "mono/utils/mono-compiler.h"
17 void
18 ves_icall_System_String_ctor_RedirectToCreateString (void) MONO_INTERNAL;
20 MonoString *
21 ves_icall_System_String_InternalJoin (MonoString *separator, MonoArray * value, gint32 sindex, gint32 count) MONO_INTERNAL;
23 void
24 ves_icall_System_String_InternalCopyTo (MonoString *me, gint32 sindex, MonoArray *dest, gint32 dindex, gint32 count) MONO_INTERNAL;
26 MonoArray *
27 ves_icall_System_String_InternalSplit (MonoString *me, MonoArray *separator, gint32 count, gint32 options) MONO_INTERNAL;
29 MonoString *
30 ves_icall_System_String_InternalTrim (MonoString *me, MonoArray *chars, gint32 typ) MONO_INTERNAL;
32 gint32
33 ves_icall_System_String_InternalLastIndexOfAny (MonoString *me, MonoArray *anyOf, gint32 sindex, gint32 count) MONO_INTERNAL;
35 MonoString *
36 ves_icall_System_String_InternalPad (MonoString *me, gint32 width, gunichar2 chr, MonoBoolean right) MONO_INTERNAL;
38 MonoString *
39 ves_icall_System_String_InternalAllocateStr (gint32 length) MONO_INTERNAL;
41 void
42 ves_icall_System_String_InternalStrcpy_Str (MonoString *dest, gint32 destPos, MonoString *src) MONO_INTERNAL;
44 void
45 ves_icall_System_String_InternalStrcpy_StrN (MonoString *dest, gint32 destPos, MonoString *src, gint32 startPos, gint32 count) MONO_INTERNAL;
47 void
48 ves_icall_System_String_InternalStrcpy_Chars (MonoString *dest, gint32 destPos, MonoArray *src) MONO_INTERNAL;
50 void
51 ves_icall_System_String_InternalStrcpy_CharsN (MonoString *dest, gint32 destPos, MonoArray *src, gint32 startPos, gint32 count) MONO_INTERNAL;
53 MonoString *
54 ves_icall_System_String_InternalIntern (MonoString *str) MONO_INTERNAL;
56 MonoString *
57 ves_icall_System_String_InternalIsInterned (MonoString *str) MONO_INTERNAL;
59 gunichar2
60 ves_icall_System_String_get_Chars (MonoString *me, gint32 idx) MONO_INTERNAL;
62 #endif /* _MONO_CLI_STRING_ICALLS_H_ */