37 lines
465 B
Python
37 lines
465 B
Python
"""
|
|
Auto-generated Python stub file from main.py
|
|
Module: main
|
|
"""
|
|
|
|
import c
|
|
|
|
|
|
import t
|
|
from stdio import printf
|
|
import testcheck
|
|
|
|
@t.CStruct
|
|
class Point:
|
|
x: t.CInt
|
|
y: t.CInt
|
|
@t.CEnum
|
|
class Color:
|
|
RED = 1
|
|
GREEN = 2
|
|
BLUE = 3
|
|
@t.CUnion
|
|
class Data:
|
|
i: t.CInt
|
|
f: t.CFloat
|
|
|
|
@t.CExport
|
|
def test() -> t.CInt: pass
|
|
|
|
@t.CStatic
|
|
def static_func() -> t.CInt: pass
|
|
|
|
@t.CStatic
|
|
def mixed_func() -> t.CInt | t.CExport: pass
|
|
|
|
def main() -> t.CInt: pass
|