Defined inline functions