Skip to content

Commit

Permalink
added sentinel for imagescanner_get_results
Browse files Browse the repository at this point in the history
  • Loading branch information
npinchot committed Oct 9, 2013
1 parent eae3bdd commit d3c1611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imagescanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ imagescanner_get_results (zbarImageScanner *self,
}

static PyGetSetDef imagescanner_getset[] = {
{ "results", (getter)imagescanner_get_results, },
{ "results", (getter)imagescanner_get_results, NULL, NULL, NULL },
{ NULL } /* sentinel */
};

static PyObject*
Expand Down

0 comments on commit d3c1611

Please sign in to comment.