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