i have a function which i wish to wrap, which returns a float buffer and an integer:<br><br>std::vector<float> get_recording_buffer(/* out */ size_t &write_ptr);<br><br>alternatively, the function could also just return a pointer to a float array:<br>
<br>const float *get_recording_buffer(/* out */ size_t &size, /* out */ size_t &write_ptr);<br><br>the signature doesn't matter as much as the intention here.<br><br>using boost.python, how can i export the method so its appropriate python counterpart would be something like:<br>
<br>def get_recording_buffer():<br> return (<float list or tuple>, <int>)<br><br>i skimmed through the tutorial, the faq and the wiki, but found nothing related to these two issues.<br><br>thank you in advance :)<br>