Freeing an class instance from memory in the c code
Posted: Thu Jan 19, 2017 1:48 pm
Hi guys, I want to free a class instance from the memory in the c code. Can you please guide me how to do it? I have information about the QSTR of the instance. I had created the instance by calling mp_store_name function.
For a module, one can get information with mp_module_get(qstr_name_of_the_module), but have not seen similar function for a class instance.
For a module, one can get information with mp_module_get(qstr_name_of_the_module), but have not seen similar function for a class instance.