Use "__typeof__" instead of "typeof" for getref() macro
Merge pull request #204 from neithernut/fix-getref_macro

Use "__typeof__" instead of "typeof" for getref() macro