Hi.
It is have any reason to use different calling conventions for CEF_CALLBACK on windows and other platforms?
Now we have cdecl for exported methods, and stdcall on virtual calls in C API on windows platform.
On other platforms - it is becomes both using cdecl.
May be have sense use one calling convention on any platform (cdecl i think is better choice)?
PS: Just for me, for CefGlue (.NET) i must specify calling conv for delegates, and there is compile time constant.
If CEF will use same callconv for any platforms - then CefGlue will can be run on other platforms without recompiling.
EDIT: I'm little lied before - i can use Winapi callconv which on windows is stdcall, and on unix is probably cdecl - but it is just hidden defaults.