Minor format

This commit is contained in:
Marek Roszko 2020-08-25 20:06:52 -04:00 committed by Mark Roszko
parent cb013604a9
commit f9e379c82a
1 changed files with 4 additions and 4 deletions

View File

@ -1284,18 +1284,18 @@ fcontext_t LIBCONTEXT_CALL_CONVENTION make_fcontext(void* sp, size_t size, void(
{
if (!threadHasFibers)
{
ConvertThreadToFiberEx(nullptr, FIBER_FLAG_FLOAT_SWITCH);
ConvertThreadToFiberEx( nullptr, FIBER_FLAG_FLOAT_SWITCH );
threadHasFibers = 1;
}
fcontext_t ctx = CreateFiberEx(size - 1, size, FIBER_FLAG_FLOAT_SWITCH, (LPFIBER_START_ROUTINE) fiberEntry, nullptr );
fcontext_t ctx = CreateFiberEx( size - 1, size, FIBER_FLAG_FLOAT_SWITCH, (LPFIBER_START_ROUTINE) fiberEntry, nullptr );
fiberParams[ctx].entry = fn;
return ctx;
}
intptr_t LIBCONTEXT_CALL_CONVENTION jump_fcontext(fcontext_t* ofc, fcontext_t nfc,
intptr_t vp, bool preserve_fpu)
intptr_t LIBCONTEXT_CALL_CONVENTION jump_fcontext( fcontext_t* ofc, fcontext_t nfc,
intptr_t vp, bool preserve_fpu )
{
*ofc = GetCurrentFiber();
fiberParams[nfc].inValue = vp;