On Tue, Mar 30, 2010 at 12:02 AM, Michele De Stefano
<micdestef...@gmail.com> wrote:
> there is a much easier way to treat a FILE* as a C++ stream. The easy
> way is to use my open source library (mds-utils,
> http://code.google.com/p/mds-utils/).

If I have a C++ api like:
  void foo(ostream& os);

using mds-utils, would I be able to wrap in python:

  foo(sys.stdout) # 1

or would the python side need to be something more like:

  foo(oFileObj(sys.stdout)) # 2
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to