Skip to content

Why are these functions preserved? #3926

Closed
@AlexGuteniev

Description

@AlexGuteniev

I see that other preserved functions have _CRTIMP2 or similar, but not these.
Should these really be preserved?

STL/stl/src/winapisupp.cpp

Lines 157 to 175 in ed8150e

// TRANSITION, ABI: preserved for binary compatibility
extern "C" DWORD __cdecl __crtFlsAlloc(_In_opt_ PFLS_CALLBACK_FUNCTION const lpCallback) {
return FlsAlloc(lpCallback);
}
// TRANSITION, ABI: preserved for binary compatibility
extern "C" BOOL __cdecl __crtFlsFree(_In_ DWORD const dwFlsIndex) {
return FlsFree(dwFlsIndex);
}
// TRANSITION, ABI: preserved for binary compatibility
extern "C" PVOID __cdecl __crtFlsGetValue(_In_ DWORD const dwFlsIndex) {
return FlsGetValue(dwFlsIndex);
}
// TRANSITION, ABI: preserved for binary compatibility
extern "C" BOOL __cdecl __crtFlsSetValue(_In_ DWORD const dwFlsIndex, _In_opt_ PVOID const lpFlsData) {
return FlsSetValue(dwFlsIndex, lpFlsData);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething can be improvedfixedSomething works now, yay!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions