Inlined func