Ah, maybe I don't have to inherit the .so when I don't have the ___ prefix... ? :) have to try that It's from the idea that there's a __Foo.so and a module.pmod that inherits from the .so file to place it in the module path in pike, and make all the stuff in __Foo.so accessible as Foo.
I've seen dirnode's and joinnode's some when goofing around with hilfe, but can't really say I've grasped the ins and outs of it just yet :P
Thanks
Mirar @ Pike developers forum wrote:
Well, since both are presumable modules (and not classes), you're shooting yourself in the foot and probably inherits master()->Joinnode.
Why are you inheriting a .pmod?
.so modules are always modules to some degree; they can "be" something else but only through a magic identifier (_module_value, iirc), so in the case of that happening in the .so file (or the .pmod, which I actually think works too) you would inherit whatever that value points to in the resulting Joinnode.
/ Mirar
Previous text:
2004-10-14 18:55: Subject: Re: pike -x module install (7.7)
Hmmmm... on the other hand.. when the .so file doesn't get the underscore prefix, how do I inherit it in my module.pmod when the dir structure becomes:
Public.pmod/ Lang.pmod/ Lua.so Lua.pmod/ module.pmod
if I do: inherit Public.Lang.Lua; what am I inheriting... ?
Kaos wrote:
Disregard this. I got another error mixed up with this one.. (@module@ mentioned earlier).. I suppose the prefix has been removed in the 7.7 branch?
Kaos wrote:
I'm having trouble with the .so not getting the __ prefix - anyone else know about this? About to compile a new 7.6 and test with that as well..
/ Brevbäraren