Skip to content
Snippets Groups Projects
Commit f4edf708 authored by Enric Tejedor Saavedra's avatar Enric Tejedor Saavedra
Browse files

[Exp PyROOT] Silence cast-function-type warning (gcc8)

parent fac79519
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,9 @@ static int EventInputHook()
////////////////////////////////////////////////////////////////////////////
/// \brief Install a method hook for sending events to the GUI.
PyObject *PyROOT::RPyROOTApplication::InstallGUIEventInputHook()
/// \param[in] self Always null, since this is a module function.
/// \param[in] args Pointer to an empty Python tuple.
PyObject *PyROOT::RPyROOTApplication::InstallGUIEventInputHook(PyObject * /* self */, PyObject * /* args */)
{
if (PyOS_InputHook && PyOS_InputHook != &EventInputHook)
sOldInputHook = PyOS_InputHook;
......
......@@ -31,7 +31,7 @@ namespace PyROOT {
class RPyROOTApplication : public TApplication {
public:
static PyObject *InitApplication(PyObject *self, PyObject *args);
static PyObject *InstallGUIEventInputHook();
static PyObject *InstallGUIEventInputHook(PyObject *self, PyObject *args);
RPyROOTApplication(const char *acn, int *argc, char **argv);
virtual ~RPyROOTApplication() {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment