Interfacing with C++

Kagamin spam at here.lot
Mon Feb 5 11:15:19 UTC 2018


On Sunday, 4 February 2018 at 08:33:20 UTC, Mike Parker wrote:
> Though, I'm curious why anyone would want to declare a callback 
> in a C++ program as cdecl only on Windows and use the default 
> C++ convention everywhere else. I suggest you dig into it and 
> make sure that's what's intended. And good luck binding to 
> OpenCV!
>
>
> [1] 
> https://github.com/opencv/opencv/blob/master/modules/core/include/opencv2/core/types_c.h#L68

No, it's C everywhere, see 
https://github.com/opencv/opencv/blob/master/modules/core/include/opencv2/core/types_c.h#L1774


More information about the Digitalmars-d-learn mailing list