"""
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