fixed #2247: Using functions instead of macros to speeding up building for JSB project.
fixed #2247: Using functions instead of macros to speeding up building for JSB projects. [For not auto binding glue codes].
Merge pull request #2740 from dumganhar/iss2247-proxy-function-master

fixed #2247: Using functions instead of macros to speeding up building for JSB project.