[parted-devel] Nested structs and unions.

Otavio Salvador otavio at debian.org
Fri Feb 16 11:24:59 CET 2007


"Debarshi Ray" <debarshi.ray at gmail.com> writes:

> struct foo {
>        int ...
>        struct bar {
>                int ...
>        }
> };
>
> This has led to two completely different ways of defining such complex
> data-types, in turn affecting the style and readability of the code.
>
> Which one is preferred?

I prefer this one.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list