Made some functions to inlined
Merge pull request #359 from Coeuvre/master

Made some functions to inlined