diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-07-24 00:01:51 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-07-24 00:01:51 +0100 |
commit | 6406dae8c4da597da888345cf145f366b8297d7c (patch) | |
tree | f862560fbfd34b913484fce42c1997894f90b093 /README | |
parent | d36c21c4f53270f9ba8137bb1e84a7de45fea0f3 (diff) | |
download | nsgenbind-6406dae8c4da597da888345cf145f366b8297d7c.tar.gz nsgenbind-6406dae8c4da597da888345cf145f366b8297d7c.tar.bz2 |
Build interface map allowing for correct dependency generation
This constructs an ordered list of all interfaces in their dependency
order. The topological sort ordering is derived from the interfaces
inheritance.
The resulting table allows the generation phase to easily map
interfaces to classes defined in the binding with a useful ordering.
Additionally it was noticed that the uievent IDL was missing so that
has now been added and allows for a much more complete graph of
interfaces to be constructed.
Diffstat (limited to 'README')
-rw-r--r-- | README | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -37,6 +37,30 @@ The tool requires a binding file as input and an output directory in which to place its output. +Debug output +------------ + +as well as the generated source the tool will output seevral debugging +files with the -D switch in use. + +interface.dot + + The interfaces IDL dot file contains all the interfaces and their + relationship. graphviz can be used to convert this into a visual + representation which is sometimes useful to help in debugging + missing or incorrect IDL inheritance. + + Processing the dot file with graphviz can produce very large files + so care must be taken with options. Some examples that produce + adequate output: + + # classical tree + dot -O -Tsvg interface.dot + + # radial output + twopi -Granksep=10.0 -Gnodesep=1.0 -Groot=0009 -O -Tsvg interface.dot + + Web IDL ------- |