This is really bad... This make all pike C modules now incompatible between pike version... ;(
Not for normal usage; a corresponding .pmod is automatically generated.
Very bad thing for pexts, and all hardly developped pike modules in C...
So bad there is no warning on this important code change...
We will add lots of #ifdef but, this is bad ;(
I don't see why you would need any changes.
NB: The reason for the change is to reduce the differences between dynamic and static modules.
/Xavier
/ Henrik Grubbström (Lysator)
Previous text:
2004-03-27 20:14: Subject: Re: ADD_FUNCTION() macro on pike 7.5 ?
Hello
For Pike 7.5, you should use PIKE_MODULE_INIT, not "void pike_module_init( void )". This works in 7.4 too.
Although I bet your actual problem is that C modules are now programs, not objects. So you need to instantiate them before accessing non-constant members. This is the most brain-damaged aspect of 7.5.
This is really bad... This make all pike C modules now incompatible between pike version... ;(
Very bad thing for pexts, and all hardly developped pike modules in C...
So bad there is no warning on this important code change...
We will add lots of #ifdef but, this is bad ;(
/Xavier
-- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
/ Brevbäraren