diff options
Diffstat (limited to 'src/duk-libdom.h')
-rw-r--r-- | src/duk-libdom.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/duk-libdom.h b/src/duk-libdom.h index 3b07009..b9eeea3 100644 --- a/src/duk-libdom.h +++ b/src/duk-libdom.h @@ -47,7 +47,7 @@ int output_tool_prologue(FILE* outf); /** * output character data of node of given type. * - * used for any cdata including pre/pro/epi/post sections + * used for any cdata sections * * \param outf The file handle to write output. * \param node The node to search. @@ -57,6 +57,18 @@ int output_tool_prologue(FILE* outf); int output_cdata(FILE* outf, struct genbind_node *node, enum genbind_node_type nodetype); /** + * output character data of method node of given type. + * + * used for any cdata including pre/pro/epi/post sections + * + * \param outf The file handle to write output. + * \param node The node to search. + * \param nodetype the type of child node to search for. + * \return The number of nodes written or 0 for none. + */ +int output_method_cdata(FILE* outf, struct genbind_node *node, enum genbind_method_type sel_method_type); + +/** * output a C variable type * * Used to output c type and optionlly identifier declarations for parameters |