// declaration in header file
void XM_CALLCONV F(FXMVECTOR vec);
// definition in source file
void XM_CALLCONV F(FXMVECTOR vec) { ... }
Do I have to writh XM_CALLCONV both of them? or just write it once at declareation?
// declaration in header file
void XM_CALLCONV F(FXMVECTOR vec);
// definition in source file
void XM_CALLCONV F(FXMVECTOR vec) { ... }
Do I have to writh XM_CALLCONV both of them? or just write it once at declareation?
https://learn.microsoft.com/en-us/cpp/cpp/vectorcall?view=msvc-160
I got it. In MScompiler, Just write it once at declareation is ok.