修复了大量存在的问题,增加了假鸭子类型等等机制

This commit is contained in:
2026-06-25 14:49:46 +08:00
parent 19f2787db0
commit d88d11b646
827 changed files with 32617 additions and 18316 deletions

View File

@@ -0,0 +1,48 @@
"""
Auto-generated Python stub file from main.py
Module: main
"""
import c
import t
import stdio
import testcheck
def add(a: t.CInt, b: t.CInt) -> t.CInt: pass
def sub(a: t.CInt, b: t.CInt) -> t.CInt: pass
def multi_args(a: t.CInt, b: t.CInt, c: t.CInt, d: t.CInt) -> t.CInt: pass
def factorial(n: t.CInt) -> t.CInt: pass
def fib(n: t.CInt) -> t.CInt: pass
def add_via_ptr(p: t.CInt | t.CPtr, val: t.CInt) -> t.CInt: pass
def make_u64() -> t.CUInt64T: pass
def is_even(n: t.CInt) -> t.CBool: pass
def test_basic_call() -> t.CInt: pass
def test_multi_args() -> t.CInt: pass
def test_recursion() -> t.CInt: pass
def test_fibonacci() -> t.CInt: pass
def test_ptr_param() -> t.CInt: pass
def test_u64_return() -> t.CInt: pass
def test_bool_return() -> t.CInt: pass
def test_nested_call() -> t.CInt: pass
import w32.win32memory
def main() -> t.CInt: pass