Dear Andi, Many many thanks for looking into this!
I am on travel for a week and do not have the computer with the special case with me to test. I did now however run it on the library that I am wrapping, and there get some errors in the creation of the wrapped module (orekit): build/_orekit/__wrap__.cpp:86504:89: error: no member named 'HarmonicOscillator$Parametric$$Type' in namespace 'org::apache::commons::math3::analysis::function' ...= &::org::apache::commons::math3::analysis::function::PY_TYPE(HarmonicOs... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /Users/petrus/anaconda/lib/python2.7/site-packages/JCC-2.18-py2.7-macosx-10.5-x86_64.egg/jcc/sources/macros.h:66:23: note: expanded from macro 'PY_TYPE' #define PY_TYPE(name) name##$$Type ^ <scratch space>:63:1: note: expanded from here HarmonicOscillator$Parametric$$Type ^ build/_orekit/__wrap__.cpp:217752:55: error: no member named 'OrekitMessages$$Type' in namespace 'org::orekit::errors' self->parameters[0] = &::org::orekit::errors::PY_TYPE(OrekitMessages); ~~~~~~~~~~~~~~~~~~~~~~~^ /Users/petrus/anaconda/lib/python2.7/site-packages/JCC-2.18-py2.7-macosx-10.5-x86_64.egg/jcc/sources/macros.h:66:23: note: expanded from macro 'PY_TYPE' #define PY_TYPE(name) name##$$Type ^ <scratch space>:9:1: note: expanded from here OrekitMessages$$Type ^ 2 errors generated. error: command 'gcc' failed with exit status 1 The OrekitMessages is defined as a "public enum OrekitMessages implements Localizable { ..." and the "public class HarmonicOscillator implements UnivariateDifferentiable, DifferentiableUnivariateFunction". Maybe this says you something, I will try to test more and run my test case in . Best Regards and again, many thanks again! /Petrus