Handle nullable filename parameters
commit7ccc164b6da6d87c0a200ea50314d213470a1f18
authorChristoph Reiter <creiter@src.gnome.org>
Sat, 3 Sep 2016 18:02:13 +0000 (3 20:02 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Sat, 3 Sep 2016 21:24:38 +0000 (3 23:24 +0200)
treed61bb691ece9c5a0c5b3b172dd871b2b6478f93d
parentf4d858c069f06e7060a0bb067c29f5bffb7869ee
Handle nullable filename parameters

Make _pygi_marshal_from_py_filename handle None input
values. This allows one to pass None to parameters
annotated as nullable filenames.

This fixes a test suite error in test_spawn_async_with_pipes
triggered by an annotation change in glib.

https://bugzilla.gnome.org/show_bug.cgi?id=770821
gi/pygi-basictype.c
tests/gimarshallingtestsextra.c
tests/gimarshallingtestsextra.h
tests/test_gi.py