[CF-Devel] Patch submission: plugin fixes for Win32

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Mon Oct 20 12:31:26 CDT 2003


Hello.

I finally took the time to fix Python plugin under Windows.

Basically, I had to wrap fix_player, free and free_object in hooks.
Windows doesn't like if you free memory allocated by the server in the plugin 
dll, and vice-versa, thus free and free_object wrappers.
And fix_player uses variables from the server, not initialized in the plugin DLL 
(so you find yourself with divide by zero and such...)

I'll commit in 1 or 2 weeks if no one objects :)

Nicolas 'Ryo'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin.win32.patch.bz2
Type: application/x-bzip2
Size: 2001 bytes
Desc: not available
Url : 
     
     http://shadowknight.real-time.com/pipermail/crossfire/attachments/20031020/e63766eb/plugin.win32.patch.bin
     
     
    


More information about the crossfire mailing list