[C++-sig] py++ boost::python::object

2009-02-26 Thread Борис Казаков
Hi I't trying to parse relatevely simple file with py++ (pyplusplus_gui): here is header file: #pragma once #include typedef boost::python::object pyobject; pyobject gaussian_diffs(pyobject imarray, double sigma); It fails with plenty of errors: Error occured during code generation process! Er

Re: [C++-sig] py++ boost::python::object

2009-02-26 Thread Roman Yakovenko
2009/2/26 Борис Казаков : > Hi I't trying to parse relatevely simple file with py++ (pyplusplus_gui): > > here is header file: > > #pragma once > #include > typedef boost::python::object pyobject; > pyobject gaussian_diffs(pyobject imarray, double sigma); > > It fails with plenty of errors: > > Er

Re: [C++-sig] py++ boost::python::object

2009-02-26 Thread Борис Казаков
May be there is a way to instruct gccxml not to parse some include file? B. 2009/2/26 Roman Yakovenko > 2009/2/26 Борис Казаков : > > Hi I't trying to parse relatevely simple file with py++ (pyplusplus_gui): > > > > here is header file: > > > > #pragma once > > #include > > typedef boost::pytho

Re: [C++-sig] py++ boost::python::object

2009-02-26 Thread Roman Yakovenko
2009/2/26 Борис Казаков : > May be there is a way to instruct gccxml not to parse some include file? No, GCCXML is almost a complete C++ compiler, with "xml" instead of assembler as the backend. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/

Re: [C++-sig] py++ boost::python::object

2009-02-26 Thread ki
Roman Yakovenko kirjoitti: 2009/2/26 Борис Казаков : May be there is a way to instruct gccxml not to parse some include file? No, GCCXML is almost a complete C++ compiler, with "xml" instead of assembler as the backend. What might be possible is to provide an alternative include file where t

Re: [C++-sig] py++ boost::python::object

2009-02-26 Thread Борис Казаков
I was able to solve my problem with the following include file: #pragma once #ifndef __GCCXML__ #include typedef boost::python::object pyobject; #else class pyobject; #endif pyobject gaussian_diffs(pyobject imarray, double sigma); Thanks for your help =) Best regards, Boris. 26 февраля 200