It's just simpler code in makesrna.c to put them in each file. I don't mind having them in a separate header, could be committed after the release.
On Sun, Jul 7, 2013 at 9:37 AM, David Jeske <dav...@gmail.com> wrote: > When doing grep/searches tracing things from python-to-C, I sometimes have > a lucky keyword that matches something in the rna-gen "extern prototypes" > which are repeated in every rna_xxxx_gen file. They look like this... > > extern StructRNA RNA_BlendTexture; > > Is there a reason these are generated into every rna-gen-c file, rather > than being generated into an "rna_prorotypes_gen.h" that can be included by > every rna-gen-c file? > > For example, like this... > > http://www.pasteall.org/43828 > > Is there some reason that's bad or not done? > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers