add pr_fmt macros
Merge pull request #6 from sora/master

add pr_fmt macros