Use RInline instead of __inline__.

Now you can compile the whole project by Clang! Yey!