X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fdebug%2Fdbginfo.h;h=9d79b5b546e5fbbcdb2f0da6c0a8822e2fc9bef7;hb=f4579da31ae88bc566bc7b147cf8401a66455355;hp=e9ad670c88cb4cfb71fb68db123cc7f11801cca0;hpb=56cad49780d5a7a8f433e7b9f968acbf22cf33c6;p=libfirm diff --git a/ir/debug/dbginfo.h b/ir/debug/dbginfo.h index e9ad670c8..9d79b5b54 100644 --- a/ir/debug/dbginfo.h +++ b/ir/debug/dbginfo.h @@ -223,11 +223,12 @@ typedef unsigned snprint_dbg_func(char *buf, unsigned len, const dbg_info *dbg); * Further both functions pass an enumeration indicating the action * performed by the transformation, e.g. the kind of optimization performed. * - * print_dbg is called to convert a debug info into a human readable string. - * This string is the dumped in the duper functions. + * The third argument snprint_dbg is called to convert a debug info into a human readable string. + * This string is the dumped in the dumper functions. * * Note that if NULL is passed for dbg_info_merge_pair or dbg_info_merge_sets, the default * implementations default_dbg_info_merge_pair() and default_dbg_info_merge_sets() are used. + * NULL passed for snprint_dbg means no output. */ void dbg_init(merge_pair_func *dbg_info_merge_pair, merge_sets_func *dbg_info_merge_sets, snprint_dbg_func *snprint_dbg);