Fixed inline error

replaced inline to __inline
Revert "Fixed inline error"

This reverts commit 3d87be8bd753a66d406bc3f1abf5a760a9e9bfb7.
Revert "Revert "Fixed inline error""

This reverts commit 3a8186907690d9dd1673f493f92731a4704f6470.