Juanma Barranquero <[EMAIL PROTECTED]> writes: >> If the other image libraries we use also use C calling conventions, >> then that is the correct fix, I think. > > However, and in the interest of peace of mind, I'll trace the > functions and see that they're really doing what I think :)
Studying the headers, png and jpeg explicitly use _cdecl (or __cdecl depending on compiler), while xpm and gif specify nothing (so will default to _cdecl). So the fix you suggested is correct, I think. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel