Re: python/C++ wrapper

2007-03-14 Thread Frank
On Mar 14, 1:42 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Wed, 14 Mar 2007 01:55:55 -0300, Frank <[EMAIL PROTECTED]> escribió: > > > is there anyone here that calls C++ programs from python via swig? It > > I suggest you read the responses to your previous question; also search > the

Re: python/C++ wrapper

2007-03-14 Thread Gabriel Genellina
En Wed, 14 Mar 2007 01:55:55 -0300, Frank <[EMAIL PROTECTED]> escribió: > is there anyone here that calls C++ programs from python via swig? It I suggest you read the responses to your previous question; also search the list archives for this month. -- Gabriel Genellina -- http://mail.pytho

Re: python/C++ wrapper

2007-03-14 Thread John Pye
Check out this example from NumPy. This would be the way sanctioned by the scipy community, as you benefit from a large library of matrix routines that you can use to prepare/postprocess the data. http://www.scipy.org/Cookbook/SWIG_and_NumPy -- http://mail.python.org/mailman/listinfo/python-lis

Re: python/C++ wrapper

2007-03-14 Thread Szabolcs Nagy
> Well, pyogre has few problems with maintenance, and new bindings to > Ogre engine was > created using Boost.Python( http://www.ogre3d.org/wiki/index.php/PyOgre ) oh last time i played with pyogre they made a transition from boost to swig :) so they are back again at boost (the problem with boos

Re: python/C++ wrapper

2007-03-14 Thread Roman Yakovenko
On 14 Mar 2007 02:38:32 -0700, Szabolcs Nagy <[EMAIL PROTECTED]> wrote: > > - A c++ program receives a 2D-matrix from python as input and gives a > > 2D-matrix as output back to python. > > pyogre uses swig Well, pyogre has few problems with maintenance, and new bindings to Ogre engine was created

Re: python/C++ wrapper

2007-03-14 Thread Szabolcs Nagy
> - A c++ program receives a 2D-matrix from python as input and gives a > 2D-matrix as output back to python. pyogre uses swig ogre is a 3d realtime rendering engine written in c++ so there are many matrix manipulation there and also pyogre does not modify the original code cgkit is a computer g

Re: python/C++ wrapper

2007-03-13 Thread Roman Yakovenko
On 13 Mar 2007 21:55:55 -0700, Frank <[EMAIL PROTECTED]> wrote: > > Hi, > > is there anyone here that calls C++ programs from python via swig? It > seems that there are a lot of different ways to do that. For me it > would be important that the original c++ code (which is available) > does not need

python/C++ wrapper

2007-03-13 Thread Frank
Hi, is there anyone here that calls C++ programs from python via swig? It seems that there are a lot of different ways to do that. For me it would be important that the original c++ code (which is available) does not need to be changed and the whole compilation process (swig - python g++e

Re: Python C wrapper question

2006-03-27 Thread Dave Mandelin
Shi, Jue wrote: > Hello, Gurus, > > I have a question on wrapping C function in Python. > > > My C code is like this: > > typedef void (WINAPI *myCallBack) (unsigned int myarg1, unsigned int myarg2) > > bool myfunc(myCallBack callfunc) > > > Now I want to call myfunc in Python, what should I do?

Python C wrapper question

2006-03-24 Thread Shi, Jue
Hello, Gurus, I have a question on wrapping C function in Python. My C code is like this: typedef void (WINAPI *myCallBack) (unsigned int myarg1, unsigned int myarg2) bool myfunc(myCallBack callfunc) Now I want to call myfunc in Python, what should I do? Thanks, Stone -- http://mail.py