added generic inlines support
Merge pull request #30 from Hedde/master

Added support for generic inlines