From 3e2812889eba7f6e9cdd8e0973a6a95cc02bbdd1 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 17 Aug 2017 12:07:27 +0200 Subject: [PATCH] Stop using deprecated interfaces Use `Kaleidoscope.useEventHandlerHook` instead of `event_handler_hook_use`, which is getting deprecated. Signed-off-by: Gergely Nagy --- src/Kaleidoscope-Macros.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kaleidoscope-Macros.cpp b/src/Kaleidoscope-Macros.cpp index 72a4155d..1155ef46 100644 --- a/src/Kaleidoscope-Macros.cpp +++ b/src/Kaleidoscope-Macros.cpp @@ -198,7 +198,7 @@ Macros_::Macros_(void) { void Macros_::begin(void) { - event_handler_hook_use(handleMacroEvent); + Kaleidoscope.useEventHandlerHook(handleMacroEvent); } Macros_ Macros;