Files
TransPyC/Test/CPythonTest/temp/c9f4be41ca1cc2b4.pyi
2026-06-16 16:09:42 +08:00

22 lines
761 B
Python

"""
Auto-generated Python stub file from viperio.py
Module: viperio
"""
import t, c
from stdint import *
class Buf:
data: t.CChar | t.CPtr
length: t.CSizeT
capacity: t.CSizeT
owned: bool
def __init__(self: Buf, data: t.CChar | t.CPtr, capacity: t.CSizeT, length: t.CSizeT, owned: bool) -> t.CVoid | t.State: pass
def clear(self: Buf) -> t.CVoid | t.State: pass
def write(self: Buf, src: t.CChar | t.CPtr, count: t.CSizeT) -> t.CSizeT | t.State: pass
def cstr(self: Buf) -> t.CChar | t.CPtr | t.State: pass
def reset(self: Buf) -> t.CVoid | t.State: pass
def __enter__(self: Buf) -> 'Buf' | t.CPtr | t.State: pass
def __exit__(self: Buf) -> t.CVoid | t.State: pass
def free(self: Buf) -> t.CVoid | t.State: pass