In 7.5, do you have a .pmod that inherits your module, so you can get at it? (You might want to use pike -x module if you do not already do so, to get such oddities done for you without your own intervention.)
/ Johan Sundström (Achtung Liebe!)
Previous text:
2004-02-28 10:05: Subject: Re: More 7.4/7.5 differences (C modules)
On Sat, Feb 28, 2004 at 09:50:01AM +0100, Mirar @ Pike developers forum wrote:
It sounds to me like the problem is that you're getting a program instead of an object (module)...
Well.. I am confused... :)
If I've the following:
void pike_module_init(void) { ADD_FUNCTION("tester", f_tester, tFunc(tString,tVoid), 0); }
Code compiles, then I try to call indices(Module) - should I see this function in result? I guess - yes, at least I see - in 7.4. But in 7.5 I see nothing. And I can't call Module.tester() - it is not defined.
I don't understand - why, because I looked into Gz module - it is exactly the same way, but I see functions in indices()...
What I am doing wrong? :)
Regards, /Al
/ Brevbäraren