<html>
<body>
Hello,<br><br>
I am trying to wrap a function declared like that:<br>
void myFunc(int&amp; x) ;<br><br>
If I wrap it like that:<br>
.def(&quot;myFunc&quot;, myFunc);<br>
my program compiles but when I call this function from Python I get an
error message:<br>
&quot;TypeError: bad argument type for built-in operation&quot;<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&amp;D Software Engineer<br>
Scientific Instruments<br>
Varian JMBS
S.A.S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
1 Rue Hector Berlioz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
ZAC DES PLANS&nbsp;&nbsp; <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&quot;<br>
</i></body>
</html>