Liste des Groupes | Revenir à cl c |
On Fri, 13 Sep 2024 23:48:38 +0100, Bart wrote:So, where IS the struct defined in that Python code? Which line number?
On 13/09/2024 23:04, Lawrence D'Oliveiro wrote:Correct. Structures that the Python wrapper is able to map exactly.
>On Fri, 13 Sep 2024 11:49:35 +0300, Michael S wrote:>
>What exactly your response has to do with producing data structures>
with predefined layout?
Look at those structures: they have a specific predefined layout.
One link is a man-page with several C structs defined ...
And the choice between which particular structure variants to use is
dynamic, dependent on the event type. So the Python wrapper is able to
dynamically generate a suitable type-safe wrapper -- something that a
statically-typed language cannot do.
Les messages affichés proviennent d'usenet.