• Stephan Sundermann's avatar
    Windows: Specify CallingConvention everywhere (bgo#751045) · 2c72c26e
    Stephan Sundermann authored
    The default CallingConvention is WinAPI, which defaults to
    the system's convention which might either be StdCall or CDecl.
    For C libraries the CallingConvention to use is CDecl
    else strange runtime errors might occur because of stack
    corruption.
    
    Since Banshee is using C libraries only, specify the CDecl
    CallinvConvention everywhere.
    
    On Windows the MDA in Visual Studio would detect a wrong
    calling convention (mono has no such detection).
    
    (We take this opportunity to use const names for libraries
    in some DllImport calls which point to the same lib.)
    Signed-off-by: 's avatarAndrés G. Aragoneses <knocte@gmail.com>
    2c72c26e
Name
Last commit
Last update
..
Backends Loading commit data...
Clients Loading commit data...
Core Loading commit data...
Dap Loading commit data...
Extensions Loading commit data...
Hyena @ 229d3e81 Loading commit data...
Libraries Loading commit data...
AssemblyInfo.cs.in Loading commit data...
Makefile.am Loading commit data...
create-extension Loading commit data...
generate-dbus-docs Loading commit data...
nuke-core-tables Loading commit data...
nuke-dev-keys Loading commit data...
nuke-gconf-keys Loading commit data...
run-banshee Loading commit data...