mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
f2ac6ea455
* ReAdded AF_ flags removed by mistake from ctypes_generation * Adapt ALPC samples to python3 (fix #44) --------- Co-authored-by: clement rouault <clement.rouault@exatrack.com>
== ctypes_generation ==
I don't have the need for (nor want to code) a full C parser but I need to parse some
windows definitions to generate some python functions/structs/flags.
So, there are 3 dumb parsers used to generate:
- function prototype
- ctypes struct definition
- flags (int with name)
Maybe one day I will do something clean and sane.
But not today.
sorry :(