changed inline to __inline