Surprisingly, I can not find a single example of obtaining structure elements by name (both on the Internet and in cython examples).
So, I get a pointer to the structure from the C function and would like to access these elements one by one and repack them into the python / dict list.
may be:
structPointer['propertyName']
or
structPointer.propertyName
I want to get the effect structName->propertyName.
source
share