snapshot before regression test
This commit is contained in:
67
Test/ReTest/temp/56cdd754a8a09347.pyi
Normal file
67
Test/ReTest/temp/56cdd754a8a09347.pyi
Normal file
@@ -0,0 +1,67 @@
|
||||
"""
|
||||
Auto-generated Python stub file from stdint.py
|
||||
Module: stdint
|
||||
"""
|
||||
|
||||
import c
|
||||
|
||||
|
||||
import t
|
||||
|
||||
INT: t.CTypedef = t.CInt
|
||||
INTPTR: t.CTypedef = t.CInt | t.CPtr
|
||||
BOOL: t.CTypedef = t.CInt
|
||||
UINT: t.CTypedef = t.CUnsignedInt
|
||||
UINTPTR: t.CTypedef = UINT | t.CPtr
|
||||
BYTE: t.CTypedef = t.CUnsignedChar
|
||||
BYTEPTR: t.CTypedef = BYTE | t.CPtr
|
||||
WORD: t.CTypedef = t.CUInt16T
|
||||
DWORD: t.CTypedef = t.CUInt32T
|
||||
QWORD: t.CTypedef = t.CUInt64T
|
||||
TCHAR: t.CTypedef = t.CChar
|
||||
CHARLIST: t.CTypedef = str | t.CPtr
|
||||
VOID: t.CTypedef = t.CVoid
|
||||
SHORT: t.CTypedef = t.CShort
|
||||
SHORTPTR: t.CTypedef = t.CShort | t.CPtr
|
||||
USHORT: t.CTypedef = t.CUnsignedShort
|
||||
USHORTPTR: t.CTypedef = t.CUnsignedShort | t.CPtr
|
||||
LONGLONG: t.CTypedef = t.CLong | t.CLong
|
||||
ULONGLONG: t.CTypedef = t.CUnsignedLong | t.CLong
|
||||
LONG: t.CTypedef = t.CLong
|
||||
ULONG: t.CTypedef = t.CUnsignedLong
|
||||
WCHAR: t.CTypedef = WORD
|
||||
WCHARPTR: t.CTypedef = WORD | t.CPtr
|
||||
CHARPTR: t.CTypedef = t.CChar | t.CPtr
|
||||
FSIZE_t: t.CTypedef = DWORD
|
||||
LBA_t: t.CTypedef = DWORD
|
||||
UINTPTR: t.CTypedef = t.CUnsignedInt | t.CPtr
|
||||
VOIDPTR: t.CTypedef = t.CVoid | t.CPtr
|
||||
FLOAT: t.CTypedef = t.CFloat
|
||||
DOUBLE: t.CTypedef = t.CDouble
|
||||
FLOAT8: t.CTypedef = t.CFloat8T
|
||||
FLOAT16: t.CTypedef = t.CFloat16T
|
||||
FLOAT32: t.CTypedef = t.CFloat32T
|
||||
FLOAT64: t.CTypedef = t.CFloat64T
|
||||
FLOAT128: t.CTypedef = t.CFloat128T
|
||||
INT8: t.CTypedef = t.CInt8T
|
||||
INT16: t.CTypedef = t.CInt16T
|
||||
INT32: t.CTypedef = t.CInt32T
|
||||
INT64: t.CTypedef = t.CInt64T
|
||||
UINT8: t.CTypedef = t.CUInt8T
|
||||
UINT16: t.CTypedef = t.CUInt16T
|
||||
UINT32: t.CTypedef = t.CUInt32T
|
||||
UINT64: t.CTypedef = t.CUInt64T
|
||||
INT8PTR: t.CTypedef = t.CInt8T | t.CPtr
|
||||
INT16PTR: t.CTypedef = t.CInt16T | t.CPtr
|
||||
INT32PTR: t.CTypedef = t.CInt32T | t.CPtr
|
||||
INT64PTR: t.CTypedef = t.CInt64T | t.CPtr
|
||||
UINT8PTR: t.CTypedef = t.CUInt8T | t.CPtr
|
||||
UINT16PTR: t.CTypedef = t.CUInt16T | t.CPtr
|
||||
UINT32PTR: t.CTypedef = t.CUInt32T | t.CPtr
|
||||
UINT64PTR: t.CTypedef = t.CUInt64T | t.CPtr
|
||||
CHAR8: t.CTypedef = t.CChar8T
|
||||
CHAR16: t.CTypedef = t.CChar16T
|
||||
CHAR32: t.CTypedef = t.CChar32T
|
||||
CHAR8PTR: t.CTypedef = t.CChar8T | t.CPtr
|
||||
CHAR16PTR: t.CTypedef = t.CChar16T | t.CPtr
|
||||
CHAR32PTR: t.CTypedef = t.CChar32T | t.CPtr
|
||||
50
Test/ReTest/temp/68c4fe4b12c908e3.pyi
Normal file
50
Test/ReTest/temp/68c4fe4b12c908e3.pyi
Normal file
@@ -0,0 +1,50 @@
|
||||
"""
|
||||
Auto-generated Python stub file from mpool.py
|
||||
Module: mpool
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import viperio
|
||||
import string
|
||||
|
||||
MPOOL_ALIGN: t.CDefine = 8
|
||||
MPOOL_TYPE_SLAB: t.CDefine = 0
|
||||
MPOOL_TYPE_BUMP: t.CDefine = 2
|
||||
|
||||
def _align_up(val: t.CSizeT, align: t.CSizeT) -> t.CSizeT: pass
|
||||
|
||||
|
||||
class MPool:
|
||||
mtype: t.CInt
|
||||
mem: t.CVoid | t.CPtr
|
||||
mem_size: t.CSizeT
|
||||
offset: t.CSizeT
|
||||
high_water: t.CSizeT
|
||||
block_size: t.CSizeT
|
||||
block_count: t.CSizeT
|
||||
used_count: t.CSizeT
|
||||
free_list: t.CVoid | t.CPtr
|
||||
alloc_map: t.CUInt8T | t.CPtr
|
||||
alloc_map_size: t.CSizeT
|
||||
def __init__(self: MPool, mem: t.CVoid | t.CPtr, mem_size: t.CSizeT, block_size: t.CSizeT) -> t.CInt: pass
|
||||
def _init_bump(self: MPool, mem: t.CVoid | t.CPtr, mem_size: t.CSizeT) -> t.CInt: pass
|
||||
def _init_slab(self: MPool, mem: t.CVoid | t.CPtr, mem_size: t.CSizeT, block_size: t.CSizeT) -> t.CInt: pass
|
||||
def __enter__(self: MPool) -> 'MPool' | t.CPtr: pass
|
||||
def __exit__(self: MPool) -> t.CInt: pass
|
||||
def _slab_reset(self: MPool) -> t.CInt: pass
|
||||
def alloc(self: MPool, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def alloc_buf(self: MPool, capacity: t.CSizeT) -> viperio.Buf | t.CPtr: pass
|
||||
def free(self: MPool, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
|
||||
def realloc(self: MPool, ptr: t.CVoid | t.CPtr, old_size: t.CSizeT, new_size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def reset(self: MPool) -> t.CInt: pass
|
||||
def _bump_alloc(self: MPool, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def _slab_alloc(self: MPool) -> t.CVoid | t.CPtr: pass
|
||||
def _slab_free(self: MPool, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
|
||||
|
||||
def bump_create(mem: t.CVoid | t.CPtr, mem_size: t.CSizeT) -> MPool | t.CPtr: pass
|
||||
|
||||
def alloc(pool: MPool | t.CPtr, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
|
||||
def reset(pool: MPool | t.CPtr) -> t.CInt: pass
|
||||
44
Test/ReTest/temp/6aee24fdefa3cbc0.pyi
Normal file
44
Test/ReTest/temp/6aee24fdefa3cbc0.pyi
Normal file
@@ -0,0 +1,44 @@
|
||||
"""
|
||||
Auto-generated Python stub file from string.py
|
||||
Module: string
|
||||
"""
|
||||
|
||||
|
||||
from stdint import *
|
||||
import t, c
|
||||
|
||||
def strcpy(dest: str, src: str) -> str: pass
|
||||
|
||||
def strncpy(dest: str, src: str, n: t.CSizeT) -> str: pass
|
||||
|
||||
def strlen(src: str) -> t.CSizeT | t.CExport: pass
|
||||
|
||||
def strcmp(str1: str, str2: str) -> t.CInt: pass
|
||||
|
||||
def samestr(str1: str, str2: str) -> bool: pass
|
||||
|
||||
def strncmp(str1: str, str2: str, n: t.CSizeT) -> t.CInt: pass
|
||||
|
||||
def memcmp(ptr1: t.CVoid | t.CPtr, ptr2: t.CVoid | t.CPtr, n: t.CSizeT) -> t.CInt: pass
|
||||
|
||||
def strchr(s: str, cr: t.CInt) -> str: pass
|
||||
|
||||
def strrchr(s: str, cr: t.CInt) -> str: pass
|
||||
|
||||
def strspn(s: str, skip: str) -> int: pass
|
||||
|
||||
def memset(ptr: t.CVoid | t.CPtr, value: t.CInt, num: t.CSizeT) -> t.CVoid | t.CPtr | t.CExport: pass
|
||||
|
||||
def memset32(ptr: t.CVoid | t.CPtr, value: t.CUInt32T, count: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
|
||||
def memcpy(dest: t.CVoid | t.CPtr, src: t.CVoid | t.CPtr, num: t.CSizeT) -> t.CVoid | t.CPtr | t.CExport: pass
|
||||
|
||||
def memmove(dest: t.CVoid | t.CPtr, src: t.CVoid | t.CPtr, num: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
|
||||
def atoi(src: str) -> t.CInt: pass
|
||||
|
||||
def atoll(src: str) -> t.CInt64T: pass
|
||||
|
||||
def atof(src: str) -> t.CDouble: pass
|
||||
|
||||
def split(s: str, delim: str, result: list[str]) -> int: pass
|
||||
28
Test/ReTest/temp/73edbcf76e32d00b.pyi
Normal file
28
Test/ReTest/temp/73edbcf76e32d00b.pyi
Normal file
@@ -0,0 +1,28 @@
|
||||
"""
|
||||
Auto-generated Python stub file from stdio.py
|
||||
Module: stdio
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
|
||||
def printf(fmt: t.CChar | t.CConst | t.CPtr, *args) -> t.CInt | t.CExtern | t.CExport: pass
|
||||
|
||||
def fprintf(stream: t.CVoid | t.CPtr, fmt: t.CChar | t.CConst | t.CPtr, *args) -> t.CInt | t.CExtern | t.CExport: pass
|
||||
|
||||
def sprintf(buf: t.CChar | t.CPtr, fmt: t.CChar | t.CConst | t.CPtr, *args) -> t.CInt | t.CExtern | t.CExport: pass
|
||||
|
||||
def snprintf(buf: t.CChar | t.CPtr, size: t.CSizeT, fmt: t.CChar | t.CConst | t.CPtr, *args) -> t.CInt | t.CExtern | t.CExport: pass
|
||||
|
||||
def puts(s: t.CChar | t.CConst | t.CPtr) -> t.CInt | t.CExtern | t.CExport: pass
|
||||
|
||||
def fputs(s: t.CChar | t.CConst | t.CPtr, stream: t.CVoid | t.CPtr) -> t.CInt | t.CExtern | t.CExport: pass
|
||||
|
||||
def fgets(buf: t.CChar | t.CPtr, size: t.CInt, stream: t.CVoid | t.CPtr) -> t.CChar | t.CPtr | t.CExtern | t.CExport: pass
|
||||
|
||||
def fflush(stream: t.CVoid | t.CPtr) -> t.CInt | t.CExtern | t.CExport: pass
|
||||
|
||||
|
||||
stdin: t.CExtern | t.CVoid | t.CPtr
|
||||
stdout: t.CExtern | t.CVoid | t.CPtr
|
||||
stderr: t.CExtern | t.CVoid | t.CPtr
|
||||
18
Test/ReTest/temp/7538e542cab4c1d5.pyi
Normal file
18
Test/ReTest/temp/7538e542cab4c1d5.pyi
Normal file
@@ -0,0 +1,18 @@
|
||||
"""
|
||||
Auto-generated Python stub file from stdlib.py
|
||||
Module: stdlib
|
||||
"""
|
||||
|
||||
import c
|
||||
|
||||
|
||||
from stdint import *
|
||||
import t
|
||||
|
||||
def malloc(size: UINT) -> t.CVoid | t.CPtr | t.State | t.CExtern | t.CExport: pass
|
||||
|
||||
def calloc(nmemb: UINT, size: UINT) -> t.CVoid | t.CPtr | t.State | t.CExtern | t.CExport: pass
|
||||
|
||||
def realloc(p: str, p2: t.CLong | t.CLong) -> t.CVoid | t.CPtr | t.State | t.CExtern | t.CExport: pass
|
||||
|
||||
def free(p: t.CVoid | t.CPtr) -> None | t.State | t.CExtern | t.CExport: pass
|
||||
103
Test/ReTest/temp/839e950555b6a435.pyi
Normal file
103
Test/ReTest/temp/839e950555b6a435.pyi
Normal file
@@ -0,0 +1,103 @@
|
||||
"""
|
||||
Auto-generated Python stub file from re.__init__.py
|
||||
Module: re.__init__
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import mpool
|
||||
import string
|
||||
|
||||
RE_CHAR: t.CDefine = 0 # 匹配单个字符
|
||||
RE_DOT: t.CDefine = 1 # 匹配任意字符(除换行)
|
||||
RE_CLASS: t.CDefine = 2 # 匹配字符类 [abc]
|
||||
RE_NCLASS: t.CDefine = 3 # 匹配反义字符类 [^abc]
|
||||
RE_SPLIT: t.CDefine = 4 # 分裂节点(用于 | ? *)
|
||||
RE_JUMP: t.CDefine = 5 # 无条件跳转(用于连接)
|
||||
RE_MATCH: t.CDefine = 6 # 匹配成功
|
||||
RE_BOL: t.CDefine = 7 # 行首 ^
|
||||
RE_EOL: t.CDefine = 8 # 行尾 $
|
||||
RE_DCLASS: t.CDefine = 9 # 预定义字符类 \d \w \s
|
||||
RE_NDCLASS: t.CDefine = 10 # 预定义反义字符类 \D \W \S
|
||||
DCLASS_DIGIT: t.CDefine = 0 # \d
|
||||
DCLASS_WORD: t.CDefine = 1 # \w
|
||||
DCLASS_SPACE: t.CDefine = 2 # \s
|
||||
RE_MAX_NODES: t.CDefine = 256
|
||||
RE_MAX_STATES: t.CDefine = 256
|
||||
|
||||
class Renode:
|
||||
ntype: t.CInt
|
||||
ch: t.CChar
|
||||
out1: Renode | t.CPtr
|
||||
out2: Renode | t.CPtr
|
||||
cls: t.CChar | t.CPtr
|
||||
dcls: t.CInt
|
||||
def __new__(self: Renode, pool: mpool.MPool | t.CPtr) -> 'Renode' | t.CPtr: pass
|
||||
class RePtrList:
|
||||
node: Renode | t.CPtr
|
||||
which: t.CInt
|
||||
next: RePtrList | t.CPtr
|
||||
def __new__(self: RePtrList, pool: mpool.MPool | t.CPtr) -> 'RePtrList' | t.CPtr: pass
|
||||
class Refrag:
|
||||
start: Renode | t.CPtr
|
||||
out: RePtrList | t.CPtr
|
||||
def __new__(self: Refrag, pool: mpool.MPool | t.CPtr) -> 'Refrag' | t.CPtr: pass
|
||||
class Rematch:
|
||||
start: t.CSizeT
|
||||
end: t.CSizeT
|
||||
found: t.CInt
|
||||
def __new__(self: Rematch, pool: mpool.MPool | t.CPtr) -> 'Rematch' | t.CPtr: pass
|
||||
|
||||
def _is_word_char(ch: t.CChar) -> bool: pass
|
||||
|
||||
def _match_dclass(dcls: t.CInt, ch: t.CChar) -> bool: pass
|
||||
|
||||
def _list_append(pool: mpool.MPool | t.CPtr, head: RePtrList | t.CPtr, node: Renode | t.CPtr, which: t.CInt) -> RePtrList | t.CPtr: pass
|
||||
|
||||
def _list_patch(head: RePtrList | t.CPtr, target: Renode | t.CPtr) -> t.CInt: pass
|
||||
|
||||
def _list_concat(a: RePtrList | t.CPtr, b: RePtrList | t.CPtr) -> RePtrList | t.CPtr: pass
|
||||
|
||||
|
||||
class Recompiler:
|
||||
pool: mpool.MPool | t.CPtr
|
||||
p: t.CChar | t.CPtr
|
||||
pend: t.CChar | t.CPtr
|
||||
match_node: Renode | t.CPtr
|
||||
def __new__(self: Recompiler, pool: mpool.MPool | t.CPtr) -> 'Recompiler' | t.CPtr: pass
|
||||
def compile(self: Recompiler, pattern: t.CChar | t.CPtr) -> Renode | t.CPtr: pass
|
||||
def _peek(self: Recompiler) -> t.CChar: pass
|
||||
def _next(self: Recompiler) -> t.CChar: pass
|
||||
def _parse_alt(self: Recompiler) -> Refrag | t.CPtr: pass
|
||||
def _parse_concat(self: Recompiler) -> Refrag | t.CPtr: pass
|
||||
def _parse_repeat(self: Recompiler) -> Refrag | t.CPtr: pass
|
||||
def _parse_atom(self: Recompiler) -> Refrag | t.CPtr: pass
|
||||
def _parse_escape(self: Recompiler) -> Refrag | t.CPtr: pass
|
||||
def _parse_class(self: Recompiler) -> Refrag | t.CPtr: pass
|
||||
class Restate:
|
||||
node: Renode | t.CPtr
|
||||
pos: t.CSizeT
|
||||
def __new__(self: Restate, pool: mpool.MPool | t.CPtr) -> 'Restate' | t.CPtr: pass
|
||||
|
||||
def _add_state(nlist: t.CVoid | t.CPtr, node: Renode | t.CPtr, pos: t.CSizeT, text: t.CChar | t.CPtr, nstates: t.CInt, max_states: t.CInt) -> t.CInt: pass
|
||||
|
||||
def _read_node(slist: t.CVoid | t.CPtr, idx: t.CInt) -> Renode | t.CPtr: pass
|
||||
|
||||
def _read_pos(slist: t.CVoid | t.CPtr, idx: t.CInt) -> t.CSizeT: pass
|
||||
|
||||
def _step(clist: t.CVoid | t.CPtr, nlist: t.CVoid | t.CPtr, ch: t.CChar, pos: t.CSizeT, text: t.CChar | t.CPtr, cstates: t.CInt, max_states: t.CInt) -> t.CInt: pass
|
||||
|
||||
def _check_match(slist: t.CVoid | t.CPtr, nstates: t.CInt) -> t.CSizeT: pass
|
||||
|
||||
def compile(pool: mpool.MPool | t.CPtr, pattern: t.CChar | t.CPtr) -> Renode | t.CPtr: pass
|
||||
|
||||
def match(pool: mpool.MPool | t.CPtr, pattern: t.CChar | t.CPtr, text: t.CChar | t.CPtr) -> Rematch | t.CPtr: pass
|
||||
|
||||
def search(pool: mpool.MPool | t.CPtr, pattern: t.CChar | t.CPtr, text: t.CChar | t.CPtr) -> Rematch | t.CPtr: pass
|
||||
|
||||
def findall(pool: mpool.MPool | t.CPtr, pattern: t.CChar | t.CPtr, text: t.CChar | t.CPtr, results: t.CChar | t.CPtr | t.CPtr, max_results: t.CSizeT) -> t.CSizeT: pass
|
||||
|
||||
def sub(pool: mpool.MPool | t.CPtr, pattern: t.CChar | t.CPtr, replacement: t.CChar | t.CPtr, text: t.CChar | t.CPtr, outbuf: t.CChar | t.CPtr, outsize: t.CSizeT) -> t.CSizeT: pass
|
||||
|
||||
def split(pool: mpool.MPool | t.CPtr, pattern: t.CChar | t.CPtr, text: t.CChar | t.CPtr, results: t.CChar | t.CPtr | t.CPtr, max_results: t.CSizeT) -> t.CSizeT: pass
|
||||
58
Test/ReTest/temp/9ef80c98cfbbce42.pyi
Normal file
58
Test/ReTest/temp/9ef80c98cfbbce42.pyi
Normal file
@@ -0,0 +1,58 @@
|
||||
"""
|
||||
Auto-generated Python stub file from main.py
|
||||
Module: main
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from t import CInt, CLong, CDouble, CPtr, CSizeT, CChar
|
||||
from stdio import printf
|
||||
import re
|
||||
import mpool
|
||||
import string
|
||||
import stdlib
|
||||
|
||||
_pass_count: t.CExtern | CInt
|
||||
_fail_count: t.CExtern | CInt
|
||||
|
||||
def check(name: CChar | CPtr, condition: bool) -> t.CInt: pass
|
||||
|
||||
def make_pool() -> mpool.MPool | CPtr: pass
|
||||
|
||||
def free_pool(pool: mpool.MPool | CPtr) -> t.CInt: pass
|
||||
|
||||
def test_basic_match() -> t.CInt: pass
|
||||
|
||||
def test_dot() -> t.CInt: pass
|
||||
|
||||
def test_star() -> t.CInt: pass
|
||||
|
||||
def test_plus() -> t.CInt: pass
|
||||
|
||||
def test_question() -> t.CInt: pass
|
||||
|
||||
def test_alt() -> t.CInt: pass
|
||||
|
||||
def test_group() -> t.CInt: pass
|
||||
|
||||
def test_charclass() -> t.CInt: pass
|
||||
|
||||
def test_predefined() -> t.CInt: pass
|
||||
|
||||
def test_search() -> t.CInt: pass
|
||||
|
||||
def test_findall() -> t.CInt: pass
|
||||
|
||||
def test_sub() -> t.CInt: pass
|
||||
|
||||
def test_split() -> t.CInt: pass
|
||||
|
||||
def test_anchors() -> t.CInt: pass
|
||||
|
||||
def test_escape() -> t.CInt: pass
|
||||
|
||||
def test_mpool_reuse() -> t.CInt: pass
|
||||
|
||||
def test_complex() -> t.CInt: pass
|
||||
|
||||
def main() -> t.CInt: pass
|
||||
8
Test/ReTest/temp/_sha1_map.txt
Normal file
8
Test/ReTest/temp/_sha1_map.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
56cdd754a8a09347:includes/stdint.py
|
||||
68c4fe4b12c908e3:includes/mpool.py
|
||||
6aee24fdefa3cbc0:includes/string.py
|
||||
73edbcf76e32d00b:includes/stdio.py
|
||||
7538e542cab4c1d5:includes/stdlib.py
|
||||
839e950555b6a435:includes/re\__init__.py
|
||||
9ef80c98cfbbce42:main.py
|
||||
c9f4be41ca1cc2b4:includes/viperio.py
|
||||
22
Test/ReTest/temp/c9f4be41ca1cc2b4.pyi
Normal file
22
Test/ReTest/temp/c9f4be41ca1cc2b4.pyi
Normal file
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
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.CInt: pass
|
||||
def clear(self: Buf) -> t.CInt: pass
|
||||
def write(self: Buf, src: t.CChar | t.CPtr, count: t.CSizeT) -> t.CSizeT: pass
|
||||
def cstr(self: Buf) -> t.CChar | t.CPtr: pass
|
||||
def reset(self: Buf) -> t.CInt: pass
|
||||
def __enter__(self: Buf) -> 'Buf' | t.CPtr: pass
|
||||
def __exit__(self: Buf) -> t.CInt: pass
|
||||
def free(self: Buf) -> t.CInt: pass
|
||||
Reference in New Issue
Block a user