[C++-sig] pyste - function output parameters

Jason.Sibthorpe at aculab.com Jason.Sibthorpe at aculab.com
Mon Sep 8 18:09:51 CEST 2003


Hi,

Given a c++ function of the form

out_arg1 foo(in_arg, out_arg2) { ... }

I wonder if there is a neat way of provoking
pyste to generate a wrapper so that out_arg2
is returned by the corresponding python function.

ie in python

out1, out2 = module.foo(in)

I believe this is possible in SWIG.


Thanks

-J

Jason Sibthorpe
Software Engineer
Aculab 
Tel: +44 (0) 1908 273 869
Fax: +44 (0) 1908 273 801
Email: jason.sibthorpe at aculab.com
Website: <http://www.aculab.com>





More information about the Cplusplus-sig mailing list