When I try to publish GLGraphicsStateGuardian, by interrogating glGraphicsStateGuardian_src.cxx, interrogate seems to have problems with the macro CLP such as
int CLP(GraphicsStateGuardian)::testfoo3() {
return 5;
}
I can sort of ‘cast’ away the problem by explicitly defining what CLP is for the parser such as
[code]
#ifndef CPPPARSER
int CLP(GraphicsStateGuardian)::testfoo3() {
return 5;
}
#else
int GLGraphicsStateGuardian::testfoo3() {
return 5;
}
#endif
But this seems like an ugly hack. Is there a way for interrogate to understand the CLP macro?