emit init event
add inline() macro