zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

CEF_CALLBACK calling conventions different on other platforms #598

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
CEF1 and CEF3 currently uses __cdecl calling convention (driven by CEF_EXPORT 
for global/static methods), and on virtual methods uses CEF_CALLBACK which 
defined for windows as __stdcall callconv, and __cdecl for linux & macosx.

I'm currently doesn't see any reason in using __stdcall on windows.

It will be look more clean if any calls will use same calling convention on all 
platforms (__cdecl).

Also may be have sense make build option, to choose behavior.

Discussion thread: http://www.magpcss.org/ceforum/viewtopic.php?f=7&t=822

Original issue reported on code.google.com by fdd...@gmail.com on 16 May 2012 at 5:59

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/598

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:22