修正了 TPC 的一些错误,包括 Test 维护后 TPV 无法重新编译或重编译后越界的部分问题

This commit is contained in:
2026-07-20 11:12:30 +08:00
parent ab73420b4f
commit a277ded8d4
476 changed files with 4000 additions and 3439 deletions

View File

@@ -0,0 +1,30 @@
"""
Auto-generated Python stub file from _list.py
Module: _list
"""
import t, c
import memhub
import string
from stdint import *
class list[T]:
__data__: t.CVoid | t.CPtr
__count__: t.CSizeT
__capacity__: t.CSizeT
__pool__: memhub.MemManager | t.CPtr
__elem_size__: t.CSizeT
__iter_index__: t.CSizeT
def __new__(self: list, pool: memhub.MemManager | t.CPtr, elem_size: t.CSizeT) -> t.CInt: pass
def __init__(self: list, pool: memhub.MemManager | t.CPtr, elem_size: t.CSizeT) -> t.CInt: pass
def __len__(self: list) -> t.CSizeT: pass
def append(self: list, item: T) -> t.CInt: pass
def get(self: list, index: t.CSizeT) -> T: pass
def __getitem__(self: list, index: t.CSizeT) -> T: pass
def set(self: list, index: t.CSizeT, value: T) -> t.CInt: pass
def __setitem__(self: list, index: t.CSizeT, value: T) -> t.CInt: pass
def pop(self: list) -> T: pass
def clear(self: list) -> t.CInt: pass
def __iter__(self: list) -> list[T] | t.CPtr: pass
def __next__(self: list) -> T: pass