721 static snackWidget * textWidget(PyObject * s, PyObject * args) {
722 char * text;
723 int width, height;
724 int scrollBar = 0;
725 int wrap = 0;
726 snackWidget * widget;
727
728 if (!PyArg_ParseTuple(args, "iis|ii", &width, &height, &text, &scrollBar, &wrap))
729 return NULL;
when PyArg_ParseTuple() succeeds
taking False path
730
731 widget = snackWidgetNew ();
732 widget->co = newtTextbox(-1, -1, width, height,
when snackWidgetNew() fails
733 (scrollBar ? NEWT_FLAG_SCROLL : 0) |
dereferencing NULL (widget->co) at snackmodule.c:736
found 8 similar trace(s) to this
734 (wrap ? NEWT_FLAG_WRAP : 0));
when considering range: -0x80000000 <= value <= -1
taking True path
735 newtTextboxSetText(widget->co, text);
when considering range: -0x80000000 <= value <= -1
taking True path
736
737 return widget;
738 }
739