2005/8/22, Grant Goodyear <<a href="mailto:grant@grantgoodyear.org">grant@grantgoodyear.org</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have an image object that overloads operator() to handle array<br>subscripting of the object's image data by returning a float&. How do I<br>set the return policy for operator() in pyste?<br></blockquote></div><br>
I think "return_value_policy<copy_non_const_referece>()" will work. <br>
<br>
It is just a "float".<br>
<br>
[Eric Jardim]<br>