void write_comment(TreeState *state) { fprintf(FILENAME(state), " /* "); IDL_tree_to_IDL(state->tree, state->ns, FILENAME(state), IDLF_OUTPUT_NO_NEWLINES | IDLF_OUTPUT_NO_QUALIFY_IDENTS | IDLF_OUTPUT_PROPERTIES); fputs(" */\n", FILENAME(state)); }
void xpidl_write_comment(TreeState *state, int indent) { fprintf(state->file, "%*s/* ", indent, ""); IDL_tree_to_IDL(state->tree, state->ns, state->file, IDLF_OUTPUT_NO_NEWLINES | IDLF_OUTPUT_NO_QUALIFY_IDENTS | IDLF_OUTPUT_PROPERTIES); fputs(" */\n", state->file); }