重置上传,新增了多个标准库,开始 TransPyV 自举实验
This commit is contained in:
24
Test/TestProject3/temp/285a822aa26bfbda.pyi
Normal file
24
Test/TestProject3/temp/285a822aa26bfbda.pyi
Normal file
@@ -0,0 +1,24 @@
|
||||
"""
|
||||
Auto-generated Python stub file from vector.py
|
||||
Module: vector
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import memhub
|
||||
|
||||
class Vector[T]:
|
||||
data: t.CVoid | t.CPtr
|
||||
length: t.CSizeT
|
||||
capacity: t.CSizeT
|
||||
elem_size: t.CSizeT
|
||||
pool: memhub.MemManager | t.CPtr
|
||||
def __init__(self: Vector, pool: memhub.MemManager | t.CPtr, capacity: t.CSizeT, _hint: T) -> t.CInt: pass
|
||||
def push(self: Vector, value: T) -> t.CInt: pass
|
||||
def _grow(self: Vector) -> t.CInt: pass
|
||||
def get(self: Vector, index: t.CSizeT) -> T: pass
|
||||
def set(self: Vector, index: t.CSizeT, value: T) -> t.CInt: pass
|
||||
def len(self: Vector) -> t.CSizeT: pass
|
||||
def clear(self: Vector) -> t.CInt: pass
|
||||
def free(self: Vector) -> t.CInt: pass
|
||||
Reference in New Issue
Block a user