[OpenAFS-devel] Simplifying rxgen output

Chas Williams (CONTRACTOR) chas@cmf.nrl.navy.mil
Sat, 13 Feb 2010 18:06:47 -0500


In message <F88DD0BE-1841-4FCD-8395-DB96EA6E5491@inf.ed.ac.uk>,Simon Wilkinson 
writes:
>example.testgroup_u.firstDataSet.mydata.mydata_val;
>
>I'd like to change this so we can use
>
>example.u.firstDataSet.mydata.val
>
>by removing the name of the structure in the union declaration, and in =
>the len and val attributes of any vector.

i would say that these members names are unique enough that you
could provide some compatability to out of tree users with

#define testgroup_u u
#define mydata_val val