Hi,

Suppose I have the following function
char *generateMessage(char *sender, char *reciever, char *message) ;

now in c I would normally do

char *msg = generateMessage(sender, reciever, message);
// do something
free(msg);

My question is how do I free the memory allocated when I call this
function using ctypes
I could not find this in the documentation for python 2.5

thanks
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to