Two general bugfixes found looking at PyPy

Merged Benjamin Berg requested to merge benzea/pypy-fixes into master
  • GArray can have item sizes other than 1 and sizeof(void*)
  • GHashTable marshalling error condition would unref the key/value even though it doesn't own it

And then, one of the tests just appears to be working fine.

The GHashTable part fixes random failures that would happen later on in the pypy tests. It seems like it is stable now.

Edited by Benjamin Berg

Merge request reports