DescriptionMake sure the main header is not included twice in the generated implementation
r149976 updated the bindings generator so that the main header is not included
twice in the generated implementation under most circumstances. However, the
fix was incomplete as the bug is still reproduceable if an IDL interface refers
to itself (i.e. one of the attributes or arguments has the interface as type).
This patch addresses the issue by using the implIncludes hash map for the
main header include, instead of hardcoding it in the header section. The main
include is then treated as a special case in WriteData subroutine to make
sure it is printed right after the "config.h" include and followed by a blank
line.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149994
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|