[C++-sig] pyste reports no-policy even if wrapper specified
Vladimir Sukhoy
news4vovan at mail.ru
Wed May 25 09:44:55 CEST 2005
> Could you post a small reproductible test case?
Ok:
test.hpp :
#include <string>
class test_class
{
public:
static char * blah()
{
return "blah";
}
};
std::string blah_wrapper()
{
return test_class::blah();
}
pyste file:
test = Class("test_class", "test.hpp")
set_wrapper(test.blah, 'blah_wrapper')
pyste output:
---> Error: test_class::blah returns a pointer or a reference, but no policy
was specified.
Module _test generated
More information about the Cplusplus-sig
mailing list