attr.h
8.63 KB
-
Introduce GIT_CALLBACK macro to enforce cdecl · 22d2062d
Since we now always build the library with cdecl calling conventions, our callbacks should be decorated as such so that users will not be able to provide callbacks defined with other calling conventions. The `GIT_CALLBACK` macro will inject the `__cdecl` attribute as appropriate.
Edward Thomson committed