Hi, im courrently making a bot just for fun in C++, althought for sake of compatibility, im calling the CFunctions that the client exports to the python interpreter.
But i can't understand if i need to do Py_DECREF after calling a function, or if there is somesort of garbage collector, i find this Python API a bit confusing.
This is my code:
Are this Py_DECREF really necessary?
And please note that im calling a CFunction not the python function from the interpreter, in those examples im calling these 2 functions:
Thanks in advance