View Single Post
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#30
I generated a X VAPI, but Vapigen is generating x_[something]_free() for default free function, but as far as i can see, X uses destroy_[something](). I can declare them by hand (there's a free_function declaration in the VAPI)... but that would require much time... Will see if there is any pattern in the function names and if some regular expression can help...

EDIT: Doesn't work with destroy_[something](). However it works with simple free() and i'm able to compile, but can this lead to not freeing resources effectively?
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2008-07-13 at 21:49.