move adt_tree.c (virtual registry tree) to new talloc()

Gerald (Jerry) Carter jerry at samba.org
Sat Sep 3 16:33:16 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke wrote:

| The way I see it is the following: Everything that is an
| opaque data type is a structure. If an implementation really
| wants to make this opaque, use a forward reference without
| data fields. This way you can only deal with the
| structure as a pointer, but that might be acceptable.
|
| As we have talloc destructors, a convention might
| be to simply talloc_free such an abstract data type
| and have the module clean up itself.

Yeah.  And then maybe we can rename 'struct adt_tree'
to 'class adt_tree' and start using g++ :-)

|> Unless someone has a technical reason to choose
|> one over the other, then IO guess I'll remain an
|> infidel in the eyes of the 'struct' religion :-)
|
| Tridge once mentioned better syntax highlighting
| in editors, but I think this hardly qualifies as a
| technical reason. I think it really comes down to
| taste.

That actually is a good technical reason.  I'll ponder
it :-)

But right now I'm shooting for stealing the 10,000
commit from tpot :-)





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDGdBMIR7qMdg1EfYRAspJAKDbkghQ9PH+dSfP0wAnJDAz+Oa+cQCg4ZOA
7bYWYzznKs50jJo7M0C53YE=
=1hiB
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list