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
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
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/
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
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
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