apitrace/apitrace — pull request #148 by casseveritt (2013-06-20 00:35:10+00:00)
Title: proposed fix for issue #139

I had to add separate handling of lookupHandle() when you want the return to be an lvalue vs rvalue. Anyway, this is the general idea.