You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the specific thing you are trying to understand? Do you want to learn how to use the Python C APIs, or do you want to understand what this code is doing?
The code in the C file actually just mirrors what the wrappers.py file does in Python code and since the Python code is easier to understand, any comments about what it is all doing are given there. Only specific snippets of the C code which need to do something in a markedly different way than the equivalent Python code are documented.
In other words, start with the Python code and once you understand that, then compare that to the C code. If there are still then specific points of uncertainty, follow up here with questions.
Going to close out this issue. As already noted, since the Python version of the code mirrors what the C code does, it can be used as the means to study what is going on.
The https://github.com/GrahamDumpleton/wrapt/blob/master/src/_wrappers.c file is undocumented and for those who aren't familiar with Python's C API it's not very clear what's going on.
The text was updated successfully, but these errors were encountered: