Fix incorrect (non-compiling) code generation for non-member functions.
Fix incorrect (non-compiling) code generation for non-member functions.

--HG--
branch : clangtypes

sam-roth/autobind,sam-roth/autobind,sam-roth/autobind