Deeploy.DeeployTypes.GlobalDefinition

class Deeploy.DeeployTypes.GlobalDefinition(name: str, definition: str)

Bases: object

Helper class to hoist arbitrary C code into the global program scope; used to perform small amounts of global initialization, declare global synchronization objects, and similar.

Methods

__init__(name: str, definition: str)

__init__(name, definition)

alloc()

Return this GlobalDefintion's C code

alloc() str

Return this GlobalDefintion’s C code