Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 7737316

Browse files
committed
Fix MC_EXTERNAL_HANDLERS_END custodian
1 parent c17e194 commit 7737316

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libexternalv1/include/external.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ const char *MCErrorToString(MCError t_error);
644644
{ 2, m_name, m_function },
645645

646646
#define MC_EXTERNAL_HANDLERS_END \
647-
{ 0 } };
647+
{ 0, nil, nil } };
648648

649649
#elif !defined(__EXCEPTIONS)
650650

@@ -667,7 +667,7 @@ const char *MCErrorToString(MCError t_error);
667667
{ 2, m_name, m_function },
668668

669669
#define MC_EXTERNAL_HANDLERS_END \
670-
{ 0 } }; }
670+
{ 0, nil, nil } }; }
671671

672672
#endif
673673

@@ -1479,7 +1479,7 @@ template<MCExternalHandlerProc u_handler> bool MCExternalHandlerWrapper(MCVariab
14791479
{ 2, m_name, m_function },
14801480

14811481
#define MC_EXTERNAL_HANDLERS_END \
1482-
}; }
1482+
{ 0, nil, nil } }; }
14831483

14841484
#endif
14851485

0 commit comments

Comments
 (0)