Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
fixed typo and spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Jan 26, 2016
1 parent fd8ed27 commit dcece0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ldc/eh/win32.d
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ nothrow:

@property size_t length() const { return _length; }
@property bool empty() const { return !length; }


private:
void grow()
{
Expand Down Expand Up @@ -395,7 +395,7 @@ enum EXCEPTION_DISPOSITION
ExceptionCollidedUnwind
}

// @safeseh to be marked as "safe" for the OS securtity check
// @safeseh to be marked as "safe" for the OS security check
extern(C) @safeseh()
EXCEPTION_DISPOSITION _d_unwindExceptionHandler(ExceptionRecord* exceptionRecord,
FrameInfo* frame,
Expand Down Expand Up @@ -423,10 +423,10 @@ EXCEPTION_DISPOSITION _d_unwindExceptionHandler(ExceptionRecord* exceptionRecord
}

extern(Windows)
void RtlUnwind(void *targetFrame, void *targetIp, ExceptionRecord *pExceptRec, void *valueForEAX);
void RtlUnwind(void* targetFrame, void* targetIp, ExceptionRecord* pExceptRec, void* valueForEAX);

extern(C)
int doRtlUnwind(void *pFrame, ExceptionRecord *eRecord, typeof(RtlUnwind)* handler)
int doRtlUnwind(void* pFrame, ExceptionRecord* eRecord, typeof(RtlUnwind)* handler)
{
asm {
naked;
Expand Down Expand Up @@ -458,7 +458,7 @@ int doRtlUnwind(void *pFrame, ExceptionRecord *eRecord, typeof(RtlUnwind)* handl
ret;
}
}


///////////////////////////////////////////////////////////////
void msvc_eh_init()
{
Expand Down

0 comments on commit dcece0b

Please sign in to comment.