Fixed/implemented various QResources methods.

- data() is now exported and returns a Python read-only buffer object.
- (un)registerResourceData now accept buffers as arguments, and respects zeroes in the middle of data.
- Improved unit test.
This commit is contained in:
Hugo Parente Lima 2011-02-03 18:15:38 -02:00
commit 13a6cba842
5 changed files with 3568 additions and 26 deletions

BIN
tests/QtCore/sample.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB