Fixed initialisation in DEFINE_EVENT_ENTRY define

This commit is contained in:
Armin Novak 2018-10-24 16:50:05 +02:00
parent 987ca5ec6a
commit 97e68deea5

View File

@ -579,11 +579,7 @@ typedef struct _wEventType wEventType;
DEFINE_EVENT_UNSUBSCRIBE(_name)
#define DEFINE_EVENT_ENTRY(_name) \
{ #_name, { sizeof( _name ## EventArgs) }, 0, { \
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, \
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, \
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, \
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } },
{ #_name, { sizeof( _name ## EventArgs), NULL }, 0, { NULL } },
struct _wPubSub
{