updated C extension accordingly
Merge pull request #2 from arjenjb/tobion

updated C extension accordingly