April 28, 2020
On Tuesday, 28 April 2020 at 18:46:18 UTC, Kagamin wrote:
> Try this:
>
>     void populate(NameAndDescription[] namesAndDescriptions) {
>         if(namesAndDescriptions.length>100)namesAndDescriptions=namesAndDescriptions[0..100];
>         innerView.viewData.populate(namesAndDescriptions);
>     }

I tried that and it worked fine. So I then used a binary chop and discovered that 0..n where n <= 1170 works fine; n > 1170 crashes.

I'm not sure where that takes me but seems suggestive that the problem is Gtk or GtkD rather than my code?
April 29, 2020
Continuing this in the GtkD mailing list: https://forum.gtkd.org/groups/GtkD/thread/1370/
1 2
Next ›   Last »