mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Minor format
This commit is contained in:
parent
cb013604a9
commit
f9e379c82a
8
thirdparty/libcontext/libcontext.cpp
vendored
8
thirdparty/libcontext/libcontext.cpp
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user