[runtime] Convert String.InternalSetLength to an icall. Needed for canary support.
[mono.git] / mono / metadata / gc-internal.h
index 8e8c35f836065991b4a5266b39a45da65f223441..7b8836363f8a2a769b980d2a063e7d4567c398b2 100644 (file)
@@ -329,6 +329,8 @@ void mono_gc_set_skip_thread (gboolean skip) MONO_INTERNAL;
  */
 gboolean mono_gc_is_disabled (void) MONO_INTERNAL;
 
+void mono_gc_set_string_length (MonoString *str, gint32 new_length) MONO_INTERNAL;
+
 #if defined(__MACH__)
 void mono_gc_register_mach_exception_thread (pthread_t thread) MONO_INTERNAL;
 pthread_t mono_gc_get_mach_exception_thread (void) MONO_INTERNAL;