add __inlie support
update doc