GNOME Bugzilla – Bug 544871
No way to specify cname of array length in a vapi struct declaration.
Last modified: 2009-01-03 17:29:08 UTC
Given a C struct declaration like: typedef struct _ApiBlah { guchar *blah; guint length_of_blah; } ApiBlah; We cannot use a vapi declaration like: public struct Blah { public uchar[] blah; } ... because there is no way to specify that 'length_of_blah' should be used as the length of the uchar[] array. Complete test case in attachment.
Created attachment 115330 [details] Demonstrates the missing functionality Demonstrates the missing functionality
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 565793 ***