Py_INCREF(Py_None); return Py_None;
Py_RETURN_NONE;
static PyObject* wpRegisterGlobal( PyObject* self, PyObject* args ){	unsigned int event;	const char* scriptName;	if ( !PyArg_ParseTuple( args, "is:wolfpack.registerglobal", &event, &scriptName ) )		return 0;	cPythonScript* script = ScriptManager::instance()->find( scriptName );	if ( script == 0 )	{		PyErr_SetString( PyExc_RuntimeError, "Unknown script." );		return 0;	}	if ( event >= EVENT_COUNT )	{		PyErr_SetString( PyExc_RuntimeError, "Unknown script." );		return 0;	}	ScriptManager::instance()->setGlobalHook( ( ePythonEvent ) event, script );	Py_INCREF(Py_None);	return Py_None;}