707 static PyObject *
708 bib_set_offset (PyObject * self, PyObject * args)
709 {
710 BibtexSource * file;
711 gint offset = 0;
712 PyBibtexSource_Object * file_obj;
713
714 if (! PyArg_ParseTuple(args, "O!:first", &PyBibtexSource_Type, & file_obj))
when PyArg_ParseTuple() succeeds
taking False path
715 return NULL;
716
717 file = file_obj->obj;
718
719 bibtex_source_set_offset (file, offset);
720
721 if (file->error) {
when treating unknown struct BibtexSource * from bibtexmodule.c:717 as non-NULL
when considering range: -0x80000000 <= value <= -1
taking True path
722 return NULL;
723 }
724
725 Py_INCREF(Py_None);
726 return Py_None;
727 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this