mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
Problem: invalid syntax for calling convention on function pointer
Solution: fix syntax and formatting, remove C-ism for defining struct
This commit is contained in:
parent
64d58c432c
commit
e9b67001dd
@ -117,11 +117,14 @@ struct thread_info_t
|
||||
#pragma pack(pop)
|
||||
}
|
||||
|
||||
typedef struct _MY_EXCEPTION_REGISTRATION_RECORD
|
||||
struct MY_EXCEPTION_REGISTRATION_RECORD
|
||||
{
|
||||
struct _MY_EXCEPTION_REGISTRATION_RECORD *Next;
|
||||
EXCEPTION_DISPOSITION NTAPI (*Handler) (EXCEPTION_RECORD*, void*, CONTEXT*, void*);
|
||||
} MY_EXCEPTION_REGISTRATION_RECORD;
|
||||
typedef EXCEPTION_DISPOSITION (NTAPI *HandlerFunctionType) (
|
||||
EXCEPTION_RECORD *, void *, CONTEXT *, void *);
|
||||
|
||||
MY_EXCEPTION_REGISTRATION_RECORD *Next;
|
||||
HandlerFunctionType Handler;
|
||||
};
|
||||
|
||||
static EXCEPTION_DISPOSITION NTAPI continue_execution (EXCEPTION_RECORD *rec,
|
||||
void *frame,
|
||||
|
Loading…
x
Reference in New Issue
Block a user