File: arm4module.c
Function: stop_application
Error: returning (PyObject*)NULL without setting an exception
3720 static PyObject *
3721 stop_application (PyObject *self, PyObject *args, PyObject *keywds)
3722 {
3723     arm_error_t status;
3724 	ArmHandle *app_handle;
3725 
3726 	/*
3727 	 * Supported calling signatures:
3728 	 *	stop_application (app_handle)
3729 	 */
3730 	static char *kwlist[] = {"app_handle", NULL};
3731 
3732 	if (!PyArg_ParseTupleAndKeywords(args, keywds, "O:stop_application", kwlist, &app_handle))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
3733         return NULL;
3734 	if (!ArmHandle_Object_Check(app_handle))
when taking False path
3735 		return NULL;
3736 
3737 	status = arm_stop_application(
3738 		app_handle->arm_handle,
3739 		0,
3740 		NULL);
3741 	if (GETSTATE0->enableExceptions && (status != ARM_SUCCESS))
when considering range: 1 <= value <= 0x7fffffff
when considering range: -0x80000000 <= value <= -1
taking True path
3742 	{
3743 		set_arm_error (status, "arm_stop_application");
3744 		return NULL;
3745 	}
3746 
3747 	/* Empty return */
3748 	Py_INCREF(Py_None);
3749 	return Py_None;
3750 }
returning (PyObject*)NULL without setting an exception
found 11 similar trace(s) to this