<html>
<body>
Hello,<br><br>
I am trying to wrap a function declared like that:<br>
void myFunc(int& x) ;<br><br>
If I wrap it like that:<br>
.def("myFunc", myFunc);<br>
my program compiles but when I call this function from Python I get an
error message:<br>
"TypeError: bad argument type for built-in operation"<br><br>
I looked through the mailing list archive and the various boost.python
documentations but I did not found the answer.<br><br>
Thanks by advance for the help.<br>
Regards,<br>
<x-sigsep><p></x-sigsep>
<font size=2>Dr Gilles Orazi<br>
Data Systems, R&D Software Engineer<br>
Scientific Instruments<br>
Varian JMBS
S.A.S
<br>
1 Rue Hector Berlioz <br>
ZAC DES PLANS <br>
F-38600 FONTAINE<br>
FRANCE<br><br>
Tel: +33 4 76 53 35 80<br>
Fax: +33 4 76 53 35 89<br><br>
gilles.orazi@varianinc.com<br>
<a href="http://www.varianinc.com/" eudora="autourl">http://www.varianinc.com</a><br><br>
</font><i>Inspiring Excellence"<br>
</i></body>
</html>