MCPcopy Create free account
hub / github.com/enthought/comtypes / Union

Method Union

comtypes/tools/codegenerator/codegenerator.py:372–374  ·  view source on GitHub ↗
(self, union: typedesc.Union)

Source from the content-addressed store, hash-verified

370 self.generate(struct.get_body())
371
372 def Union(self, union: typedesc.Union) -> None:
373 self.generate(union.get_head())
374 self.generate(union.get_body())
375
376 def StructureBody(self, body: typedesc.StructureBody) -> None:
377 fields: list[typedesc.Field] = []

Callers 1

ParseUnionMethod · 0.80

Calls 3

generateMethod · 0.95
get_headMethod · 0.45
get_bodyMethod · 0.45

Tested by

no test coverage detected