add typedef and synthesize
Merge branch 'master' of github.com:cambridgehackers/xbsv