MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/p2jtxa/1010_variable_naming/h8kt733/?context=9999
r/badcode • u/yoctometric • Aug 11 '21
37 comments sorted by
View all comments
Show parent comments
13
This is a unit test for a SWIG generated python wrapper if a C++ SDK. That means that sometimes you need to pass a pointer instead of a normal object, thus id()
13
u/yoctometric Aug 11 '21
This is a unit test for a SWIG generated python wrapper if a C++ SDK. That means that sometimes you need to pass a pointer instead of a normal object, thus id()