So there is no way to redefine locally the global variables?

Its really error prone to preserve the word "result" to always point somewhere in the API.(and target, hit, etc).

I define it as a passed parameter and it just shows up zeroed out, until I realize its reserved.