Richard,
> The relevant module is RPi._GPIO. That's what PyInit__GPIO is
> setting up.
That is not the part I have been talking about.
> PyModule_AddObject gives the type defined in C by PWMType
> the name "PWM" in that module.
Neither is that
> it doesn't know about the internals of PWMType, so it seems
> to me that your preferences about who knows what are already met.
You're playing games, implicitily declaring the PWMType object itself as not
being internal to the PWM module/sourcefile. I'm afraid that that doesn't
quite work for me.
Thanks for the respons though.
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|