[Mesa-dev] [PATCH 08/14] glsl: Add copy-constructor for ast_struct_specifier.

Matt Turner mattst88 at gmail.com
Wed Jul 3 15:36:06 PDT 2013


On Wed, Jul 3, 2013 at 3:13 PM, Chad Versace
<chad.versace at linux.intel.com> wrote:
> However, I don't know how you're using this in future patches, so it's
> your call.

I actually am making a copy of an ast_struct_specifier from a pointer
to an ast_struct_specifier. (in 14/14)

new(ctx) ast_struct_specifier(*struct_type->structure) feels dirty.


More information about the mesa-dev mailing list