add ptr lib
Merge remote-tracking branch 'origin/master'
mockup ptr