changeset 414:b2a803c73b89 default tip

Declare tabArray const.
author David Nadlinger <code@klickverbot.at>
date Fri, 06 May 2011 13:39:49 +0200
parents bdc08c8391ad
children
files generator/typesystem_gui.xml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/generator/typesystem_gui.xml	Thu May 05 22:32:50 2011 +0300
+++ b/generator/typesystem_gui.xml	Fri May 06 13:39:49 2011 +0200
@@ -2073,7 +2073,7 @@
     </modify-function>
 
     <template name="gui.fontmetrics_tabarray_function">
-        public final %RETURN_TYPE %FUNCTION_NAME(%RECT_ARGUMENTSint flags, string text, int tabStops = 0, int[] tabArray = null) {
+        public final %RETURN_TYPE %FUNCTION_NAME(%RECT_ARGUMENTSint flags, string text, int tabStops = 0, in int[] tabArray = null) {
             int* ptr;
             if (tabArray != null) {
                 auto copy = new int[tabArray.length + 1];