- 
                Notifications
    You must be signed in to change notification settings 
- Fork 557
Closed
Description
I just finished work on a pure python stub generator. Right now  it's somewhat crude and quality of generated code can be improved upon but it's more or less fully functional. Wondering if you're interested in a PR. It's based on the Csharp generator, so it follows the single stub with multiple methods wrap_encode, wrap_decode instead of  2 classes as per the reference Java impl. It also has a couple of neat things like  full type hints and usage of https://docs.python.org/3/c-api/buffer.html#bufferobjects , however they're somewhat muted  because python has to cast most memory objects to int or str anyways, so heavy on allocations, a Cython impl should be trivial based on the current code though.
Metadata
Metadata
Assignees
Labels
No labels