It sounds to me like the problem is that you're getting a program instead of an object (module)...
/ Mirar
Previous text:
2004-02-28 08:59: Subject: Re: More 7.4/7.5 differences (C modules)
On Sat, Feb 28, 2004 at 08:00:02AM +0100, Mirar @ Pike developers forum wrote:
If you have a module, it doesn't matter if it's constant? It should be visible anyway.
It is not. Not in 7.5. Same code, same module, just recompiled with 7.5 headers, and running under 7.5 binary. All functions which were visible in 7.4 - now gone in 7.5 (only classes are visible). And, as I mentioned before, using add_function_constant() makes it visible... I tried ID_PUBLIC, but it didn't help.
Regards, /Al
/ Brevbäraren