Danek Duvall wrote:
Brock Pytlik wrote:

It might have been because I wanted it to have the same return type
as get_default_layout,

I was wondering if that were the case.  If you really do have a specific
reason for that, it's fine; it just seemed like it was an interface that
made no sense returning more than one value, and clients would always add
"[0]" to the return, so having the list was extraneous.

Danek
Nah, I'll change it. I agree its extraneous. Mostly I think I just hadn't thought much about it. (I also noticed that I wasn't testing that function and that it was returning a class, rather than an instance, so I've fixed both of those issues too.)

Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to