I currently have a functioning usblib module, and for now it lives in
src/post_modules/USB in my personal tree.
I am now embarking onto creating a OneWire module/class which uses the
aforementioned USB lib to actually communicate with the 1-wire busmaster.

The question is, where do I put all these modules.

Most logical would be under a module named IO, so it would
become IO.USB.devices and IO.OneWire.devices or somesuch.
Then again, the USB module is completely written as a cmod.
The OneWire module might live as a Pike module.

How do I solve the namespace problem, I'd like to unite them under master
module IO?
Renaming the USB module to _USB, then inheriting the module under
lib/modules/IO.pmod again might work, but gets messy with autodoc, since
I'd like to keep the documentation in the cmod file itself.

Any suggestions?
-- 
Stephen.

How many weeks are there in a lightyear?
  • USB.devices... Stephen R. van den Berg
    • USB.de... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
      • Re... Stephen R. van den Berg
    • Re: US... Martin Stjernholm
      • Re... Stephen R. van den Berg
        • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
          • ... Stephen R. van den Berg
            • ... Martin Bähr
              • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
                • ... Stephen R. van den Berg
                • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum

Reply via email to