[PyQt] DOUBT
Amey Patil
amey.patil at sjsu.edu
Wed Jul 23 20:38:11 BST 2014
Hi,
Following are function in my c++ class named "Word":
void Word::set_name(const char *a){
name = a;
}
const char* Word::get_name(){
return name;
}
When I call them through Python in terminal by;
import word
w = word.Word()
w.set_name("Amey")
w.get_name()
till w.set_name() it works fine.
It won't print "Amey" after executing w.get_name(), all it prints is;
' '
Please help me understand what went wrong..
Thanks in advance..
Sincere Regards,
Amey Patil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140723/204106b2/attachment.html>
More information about the PyQt
mailing list