After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627528 - Fixed length array return values
Fixed length array return values
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Arrays
unspecified
Other All
: Normal enhancement
: 2.0
Assigned To: Vala maintainers
Vala maintainers
test-case
Depends on:
Blocks:
 
 
Reported: 2010-08-20 19:18 UTC by Evan Nemerson
Modified: 2018-05-22 13:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case (171 bytes, application/octet-stream)
2010-08-20 19:18 UTC, Evan Nemerson
Details

Description Evan Nemerson 2010-08-20 19:18:14 UTC
Created attachment 168429 [details]
test case

It would be nice, especially for bindings, to support returning fixed length arrays from method calls. This could be used to help eliminate those arrays with a length of -1 without requiring a wrapper.
Comment 1 Michael 'Mickey' Lauer 2018-02-21 09:02:08 UTC
I like this idea. It is somewhat related to my idea of having tuples in the language (bug 597693), which would also lift the C-inherited requirement of "one central return value".
Comment 2 GNOME Infrastructure Team 2018-05-22 13:44:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/129.