Using R_INLINE instead of inline