diff --git a/module/lua_juce_gui_extra/code_editor/CodeTokeniser.cpp b/module/lua_juce_gui_extra/code_editor/CodeTokeniser.cpp index 2f0532e..ef050dc 100644 --- a/module/lua_juce_gui_extra/code_editor/CodeTokeniser.cpp +++ b/module/lua_juce_gui_extra/code_editor/CodeTokeniser.cpp @@ -3,8 +3,8 @@ namespace lua_juce { auto juce_CodeTokeniser(sol::table& state) -> void { auto tokeniser = state.new_usertype("InternalCodeTokeniser", sol::no_constructor); - tokeniser["readNextToken"] = LUA_JUCE_C_CALL(&juce::CodeTokeniser::readNextToken); - tokeniser["getDefaultColourScheme"] = LUA_JUCE_C_CALL(&juce::CodeTokeniser::getDefaultColourScheme); + tokeniser["readNextToken"] = &juce::CodeTokeniser::readNextToken; + tokeniser["getDefaultColourScheme"] = &juce::CodeTokeniser::getDefaultColourScheme; } } // namespace lua_juce