Fixed
This commit is contained in:
@@ -1,63 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from linkedlist.py
|
||||
Module: linkedlist
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
|
||||
@t.NoVTable
|
||||
class LinkedNode:
|
||||
next: 'LinkedNode' | t.CPtr
|
||||
prev: 'LinkedNode' | t.CPtr
|
||||
child: 'LinkedNode' | t.CPtr
|
||||
last_child: 'LinkedNode' | t.CPtr
|
||||
parent: 'LinkedNode' | t.CPtr
|
||||
child_count: t.CSizeT
|
||||
def append(self: LinkedNode, node: 'LinkedNode' | t.CPtr) -> t.CInt: pass
|
||||
def prepend(self: LinkedNode, node: 'LinkedNode' | t.CPtr) -> t.CInt: pass
|
||||
def insert_before(self: LinkedNode, node: 'LinkedNode' | t.CPtr, new_node: 'LinkedNode' | t.CPtr) -> t.CInt: pass
|
||||
def insert_after(self: LinkedNode, node: 'LinkedNode' | t.CPtr, new_node: 'LinkedNode' | t.CPtr) -> t.CInt: pass
|
||||
def remove_child(self: LinkedNode, node: 'LinkedNode' | t.CPtr) -> t.CInt: pass
|
||||
def detach(self: LinkedNode) -> t.CInt: pass
|
||||
def unlink(self: LinkedNode) -> t.CInt: pass
|
||||
def has_children(self: LinkedNode) -> t.CInt: pass
|
||||
def child_at(self: LinkedNode, index: t.CSizeT) -> 'LinkedNode' | t.CPtr: pass
|
||||
def count_children(self: LinkedNode) -> t.CSizeT: pass
|
||||
def first_sibling(self: LinkedNode) -> 'LinkedNode' | t.CPtr: pass
|
||||
def last_sibling(self: LinkedNode) -> 'LinkedNode' | t.CPtr: pass
|
||||
@t.NoVTable
|
||||
class SListNode:
|
||||
Next: 'SListNode' | t.CPtr
|
||||
def append(self: SListNode, node: 'SListNode' | t.CPtr) -> 'SListNode' | t.CPtr: pass
|
||||
def append_after(self: SListNode, node: 'SListNode' | t.CPtr) -> 'SListNode' | t.CPtr: pass
|
||||
def count(self: SListNode) -> t.CSizeT: pass
|
||||
def at(self: SListNode, index: t.CSizeT) -> 'SListNode' | t.CPtr: pass
|
||||
def remove(self: SListNode, node: 'SListNode' | t.CPtr) -> 'SListNode' | t.CPtr: pass
|
||||
@t.NoVTable
|
||||
class GSListNode[T]:
|
||||
Next: T | t.CPtr
|
||||
@t.NoVTable
|
||||
class GSList[T]:
|
||||
Head: T | t.CPtr
|
||||
Tail: T | t.CPtr
|
||||
Count: t.CSizeT
|
||||
def __init__(self: GSList) -> t.CInt: pass
|
||||
def append(self: GSList, node: T) -> t.CInt: pass
|
||||
def count(self: GSList) -> t.CSizeT: pass
|
||||
def at(self: GSList, index: t.CSizeT) -> T | t.CPtr: pass
|
||||
@t.NoVTable
|
||||
class GTreeNode[T]:
|
||||
Next: T | t.CPtr
|
||||
Prev: T | t.CPtr
|
||||
Child: T | t.CPtr
|
||||
LastChild: T | t.CPtr
|
||||
Parent: T | t.CPtr
|
||||
Count: t.CSizeT
|
||||
def append(self: GTreeNode, node: T | t.CPtr) -> t.CInt: pass
|
||||
def prepend(self: GTreeNode, node: T | t.CPtr) -> t.CInt: pass
|
||||
def detach(self: GTreeNode) -> t.CInt: pass
|
||||
def has_children(self: GTreeNode) -> t.CInt: pass
|
||||
def child_at(self: GTreeNode, index: t.CSizeT) -> T | t.CPtr: pass
|
||||
def count_children(self: GTreeNode) -> t.CSizeT: pass
|
||||
@@ -1,33 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from subprocess.py
|
||||
Module: subprocess
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import platmacro
|
||||
import memhub
|
||||
import string
|
||||
import w32.win32base
|
||||
import w32.win32file
|
||||
import w32.win32process
|
||||
import w32.win32sync
|
||||
import posix
|
||||
|
||||
OUTPUT_BUF_SIZE: t.CDefine = 65536
|
||||
_mbuddy: t.CExtern | memhub.MemBuddy | t.CPtr
|
||||
|
||||
class CompletedProcess:
|
||||
args: str
|
||||
returncode: int
|
||||
stdout: str
|
||||
stderr: str
|
||||
def __new__(self: CompletedProcess, args: str, returncode: int, stdout: str, stderr: str) -> t.CPtr: pass
|
||||
def __init__(self: CompletedProcess, args: str, returncode: int, stdout: str, stderr: str) -> t.CInt: pass
|
||||
|
||||
def run(args: str, capture_output: bool = True, text: bool = True) -> CompletedProcess | t.CPtr: pass
|
||||
|
||||
def _run_win32(args: str, capture_output: bool, text: bool) -> CompletedProcess | t.CPtr: pass
|
||||
|
||||
def _run_posix(args: str, capture_output: bool, text: bool) -> CompletedProcess | t.CPtr: pass
|
||||
@@ -1,189 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from posix.py
|
||||
Module: posix
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
|
||||
DIR: t.CTypedef = t.CVoid | t.CPtr
|
||||
mode_t: t.CTypedef = t.CUInt32T
|
||||
pid_t: t.CTypedef = t.CInt32T
|
||||
off_t: t.CTypedef = t.CInt64T
|
||||
dev_t: t.CTypedef = t.CUInt64T
|
||||
ino_t: t.CTypedef = t.CUInt64T
|
||||
nlink_t: t.CTypedef = t.CUInt64T
|
||||
uid_t: t.CTypedef = t.CUInt32T
|
||||
gid_t: t.CTypedef = t.CUInt32T
|
||||
blksize_t: t.CTypedef = t.CInt64T
|
||||
blkcnt_t: t.CTypedef = t.CInt64T
|
||||
time_t: t.CTypedef = t.CInt64T
|
||||
O_RDONLY: t.CDefine = 0
|
||||
O_WRONLY: t.CDefine = 1
|
||||
O_RDWR: t.CDefine = 2
|
||||
O_CREAT: t.CDefine = 0o100
|
||||
O_EXCL: t.CDefine = 0o200
|
||||
O_TRUNC: t.CDefine = 0o1000
|
||||
O_APPEND: t.CDefine = 0o2000
|
||||
O_NONBLOCK: t.CDefine = 0o4000
|
||||
O_CLOEXEC: t.CDefine = 0o2000000
|
||||
F_OK: t.CDefine = 0 # 文件存在
|
||||
R_OK: t.CDefine = 4 # 可读
|
||||
W_OK: t.CDefine = 2 # 可写
|
||||
X_OK: t.CDefine = 1 # 可执行
|
||||
S_IFMT: t.CDefine = 0o170000 # 类型掩码
|
||||
S_IFSOCK: t.CDefine = 0o140000 # 套接字
|
||||
S_IFLNK: t.CDefine = 0o120000 # 符号链接
|
||||
S_IFREG: t.CDefine = 0o100000 # 普通文件
|
||||
S_IFBLK: t.CDefine = 0o060000 # 块设备
|
||||
S_IFDIR: t.CDefine = 0o040000 # 目录
|
||||
S_IFCHR: t.CDefine = 0o020000 # 字符设备
|
||||
S_IFIFO: t.CDefine = 0o010000 # FIFO/管道
|
||||
S_ISUID: t.CDefine = 0o4000 # set-user-ID
|
||||
S_ISGID: t.CDefine = 0o2000 # set-group-ID
|
||||
S_ISVTX: t.CDefine = 0o1000 # sticky 位
|
||||
S_IRWXU: t.CDefine = 0o700 # 用户读写执行
|
||||
S_IRUSR: t.CDefine = 0o400 # 用户读
|
||||
S_IWUSR: t.CDefine = 0o200 # 用户写
|
||||
S_IXUSR: t.CDefine = 0o100 # 用户执行
|
||||
S_IRWXG: t.CDefine = 0o070 # 组读写执行
|
||||
S_IRGRP: t.CDefine = 0o040 # 组读
|
||||
S_IWGRP: t.CDefine = 0o020 # 组写
|
||||
S_IXGRP: t.CDefine = 0o010 # 组执行
|
||||
S_IRWXO: t.CDefine = 0o007 # 其他读写执行
|
||||
S_IROTH: t.CDefine = 0o004 # 其他读
|
||||
S_IWOTH: t.CDefine = 0o002 # 其他写
|
||||
S_IXOTH: t.CDefine = 0o001 # 其他执行
|
||||
SEEK_SET: t.CDefine = 0
|
||||
SEEK_CUR: t.CDefine = 1
|
||||
SEEK_END: t.CDefine = 2
|
||||
PATH_MAX: t.CDefine = 4096
|
||||
NAME_MAX: t.CDefine = 255
|
||||
_SC_NPROCESSORS_ONLN: t.CDefine = 84
|
||||
_SC_PAGESIZE: t.CDefine = 30
|
||||
_SC_CLK_TCK: t.CDefine = 2
|
||||
DT_UNKNOWN: t.CDefine = 0
|
||||
DT_FIFO: t.CDefine = 1
|
||||
DT_CHR: t.CDefine = 2
|
||||
DT_DIR: t.CDefine = 4
|
||||
DT_BLK: t.CDefine = 6
|
||||
DT_REG: t.CDefine = 8
|
||||
DT_LNK: t.CDefine = 10
|
||||
DT_SOCK: t.CDefine = 12
|
||||
DT_WHT: t.CDefine = 14
|
||||
WNOHANG: t.CDefine = 1
|
||||
WUNTRACED: t.CDefine = 2
|
||||
WCONTINUED: t.CDefine = 8
|
||||
|
||||
class Stat:
|
||||
st_dev: dev_t
|
||||
st_ino: ino_t
|
||||
st_nlink: nlink_t
|
||||
st_mode: mode_t
|
||||
st_uid: uid_t
|
||||
st_gid: gid_t
|
||||
__pad0: INT
|
||||
st_rdev: dev_t
|
||||
st_size: off_t
|
||||
st_blksize: blksize_t
|
||||
st_blocks: blkcnt_t
|
||||
st_atim_sec: time_t
|
||||
st_atim_nsec: LONGLONG
|
||||
st_mtim_sec: time_t
|
||||
st_mtim_nsec: LONGLONG
|
||||
st_ctim_sec: time_t
|
||||
st_ctim_nsec: LONGLONG
|
||||
__unused0: LONGLONG
|
||||
__unused1: LONGLONG
|
||||
__unused2: LONGLONG
|
||||
class Dirent:
|
||||
d_ino: ino_t
|
||||
d_off: off_t
|
||||
d_reclen: USHORT
|
||||
d_type: BYTE
|
||||
d_name: CHARPTR
|
||||
|
||||
def open(path: t.CConst | str, oflag: INT, *args) -> INT | t.State: pass
|
||||
|
||||
def close(fd: INT) -> INT | t.State: pass
|
||||
|
||||
def read(fd: INT, buf: bytes, count: t.CSizeT) -> ssize_t | t.State: pass
|
||||
|
||||
def write(fd: INT, buf: t.CConst | bytes, count: t.CSizeT) -> ssize_t | t.State: pass
|
||||
|
||||
def lseek(fd: INT, offset: off_t, whence: INT) -> off_t | t.State: pass
|
||||
|
||||
def unlink(path: t.CConst | str) -> INT | t.State: pass
|
||||
|
||||
def access(path: t.CConst | str, amode: INT) -> INT | t.State: pass
|
||||
|
||||
def realpath(path: t.CConst | str, resolved: CHARPTR) -> CHARPTR | t.State: pass
|
||||
|
||||
def rename(oldpath: t.CConst | str, newpath: t.CConst | str) -> INT | t.State: pass
|
||||
|
||||
def chmod(path: t.CConst | str, mode: mode_t) -> INT | t.State: pass
|
||||
|
||||
def stat(path: t.CConst | str, buf: Stat | t.CPtr) -> INT | t.State: pass
|
||||
|
||||
def fstat(fd: INT, buf: Stat | t.CPtr) -> INT | t.State: pass
|
||||
|
||||
def opendir(name: t.CConst | str) -> DIR | t.CPtr | t.State: pass
|
||||
|
||||
def readdir(dirp: DIR | t.CPtr) -> Dirent | t.CPtr | t.State: pass
|
||||
|
||||
def closedir(dirp: DIR | t.CPtr) -> INT | t.State: pass
|
||||
|
||||
def mkdir(path: t.CConst | str, mode: mode_t) -> INT | t.State: pass
|
||||
|
||||
def rmdir(path: t.CConst | str) -> INT | t.State: pass
|
||||
|
||||
def getcwd(buf: CHARPTR, size: t.CSizeT) -> CHARPTR | t.State: pass
|
||||
|
||||
def chdir(path: t.CConst | str) -> INT | t.State: pass
|
||||
|
||||
def fork() -> pid_t | t.State: pass
|
||||
|
||||
def execvp(file: t.CConst | str, argv: CHARPTR | t.CPtr) -> INT | t.State: pass
|
||||
|
||||
def execv(path: t.CConst | str, argv: CHARPTR | t.CPtr) -> INT | t.State: pass
|
||||
|
||||
def waitpid(pid: pid_t, status: INT | t.CPtr, options: INT) -> pid_t | t.State: pass
|
||||
|
||||
def pipe(fds: INT | t.CPtr) -> INT | t.State: pass
|
||||
|
||||
def dup2(oldfd: INT, newfd: INT) -> INT | t.State: pass
|
||||
|
||||
def _exit(status: INT) -> t.CVoid | t.State: pass
|
||||
|
||||
def getpid() -> pid_t | t.State: pass
|
||||
|
||||
def getenv(name: t.CConst | str) -> CHARPTR | t.State: pass
|
||||
|
||||
def setenv(name: t.CConst | str, value: t.CConst | str, overwrite: INT) -> INT | t.State: pass
|
||||
|
||||
def sysconf(name: INT) -> LONG | t.State: pass
|
||||
|
||||
def isatty(fd: INT) -> INT | t.State: pass
|
||||
|
||||
def S_ISREG(mode: mode_t) -> bool: pass
|
||||
|
||||
def S_ISDIR(mode: mode_t) -> bool: pass
|
||||
|
||||
def S_ISLNK(mode: mode_t) -> bool: pass
|
||||
|
||||
def S_ISCHR(mode: mode_t) -> bool: pass
|
||||
|
||||
def S_ISBLK(mode: mode_t) -> bool: pass
|
||||
|
||||
def S_ISFIFO(mode: mode_t) -> bool: pass
|
||||
|
||||
def S_ISSOCK(mode: mode_t) -> bool: pass
|
||||
|
||||
def WIFEXITED(status: INT) -> bool: pass
|
||||
|
||||
def WEXITSTATUS(status: INT) -> INT: pass
|
||||
|
||||
def WIFSIGNALED(status: INT) -> bool: pass
|
||||
|
||||
def WTERMSIG(status: INT) -> INT: pass
|
||||
@@ -1,28 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from stdio.py
|
||||
Module: stdio
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
|
||||
def printf(fmt: t.CConst | str, *args) -> t.CInt | t.State: pass
|
||||
|
||||
def fprintf(stream: bytes, fmt: t.CConst | str, *args) -> t.CInt | t.State: pass
|
||||
|
||||
def sprintf(buf: bytes, fmt: t.CConst | str, *args) -> t.CInt | t.State: pass
|
||||
|
||||
def snprintf(buf: bytes, size: t.CSizeT, fmt: t.CConst | str, *args) -> t.CInt | t.State: pass
|
||||
|
||||
def puts(s: t.CConst | str) -> t.CInt | t.State: pass
|
||||
|
||||
def fputs(s: t.CConst | str, stream: bytes) -> t.CInt | t.State: pass
|
||||
|
||||
def fgets(buf: bytes, size: t.CInt, stream: bytes) -> bytes | t.State: pass
|
||||
|
||||
def fflush(stream: bytes) -> t.CInt | t.State: pass
|
||||
|
||||
|
||||
stdin: t.CExtern | bytes
|
||||
stdout: t.CExtern | bytes
|
||||
stderr: t.CExtern | bytes
|
||||
@@ -1,20 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from stdlib.py
|
||||
Module: stdlib
|
||||
"""
|
||||
|
||||
import c
|
||||
|
||||
|
||||
from stdint import *
|
||||
import t
|
||||
|
||||
def malloc(size: t.CSizeT) -> t.CVoid | t.CPtr | t.State: pass
|
||||
|
||||
def calloc(nmemb: t.CSizeT, size: t.CSizeT) -> t.CVoid | t.CPtr | t.State: pass
|
||||
|
||||
def realloc(p: t.CVoid | t.CPtr, size: t.CSizeT) -> t.CVoid | t.CPtr | t.State: pass
|
||||
|
||||
def free(p: t.CVoid | t.CPtr) -> t.State: pass
|
||||
|
||||
def system(cmd: t.CConst | t.CChar | t.CPtr) -> INT | t.State: pass
|
||||
@@ -1,53 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from platmacro.py
|
||||
Module: platmacro
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
|
||||
IS_WINDOWS: t.CDefine = 1
|
||||
IS_WIN64: t.CDefine = 1
|
||||
IS_X86_64: t.CDefine = 1
|
||||
IS_LP64: t.CDefine = 1
|
||||
IS_LITTLE_ENDIAN: t.CDefine = 1
|
||||
IS_LINUX: t.CDefine = 0
|
||||
IS_MACOS: t.CDefine = 0
|
||||
IS_ARM64: t.CDefine = 0
|
||||
IS_BIG_ENDIAN: t.CDefine = 0
|
||||
IS_ILP32: t.CDefine = 0
|
||||
PTR_SIZE: t.CDefine = t.CSizeT().Size
|
||||
INT_SIZE: t.CDefine = 4
|
||||
LONG_SIZE: t.CDefine = t.CLong().Size
|
||||
WORD_SIZE: t.CDefine = t.CSizeT().Size
|
||||
CACHE_LINE_SIZE: t.CDefine = 64
|
||||
PAGE_SIZE: t.CDefine = 4096
|
||||
STACK_ALIGN: t.CDefine = 16
|
||||
MAX_PATH_LEN: t.CDefine = 260
|
||||
PLATFORM_NAME: t.CDefine = 1
|
||||
ARCH_NAME: t.CDefine = 1
|
||||
WINVER: t.CDefine = 0x0A00
|
||||
_WIN32_WINNT: t.CDefine = 0x0A00
|
||||
NTDDI_VERSION: t.CDefine = 0x0A000006
|
||||
HAS_SSE2: t.CDefine = 1
|
||||
HAS_AVX: t.CDefine = 1
|
||||
HAS_AVX2: t.CDefine = 1
|
||||
HAS_FMA: t.CDefine = 1
|
||||
HAS_NEON: t.CDefine = 0
|
||||
ALIGNOF_INT: t.CDefine = 4
|
||||
ALIGNOF_LONG: t.CDefine = t.CLong().Size // 8
|
||||
ALIGNOF_PTR: t.CDefine = t.CSizeT().Size // 8
|
||||
ALIGNOF_DOUBLE: t.CDefine = 8
|
||||
ALIGNOF_LONG_DOUBLE: t.CDefine = 16
|
||||
SIZEOF_SHORT: t.CDefine = 2
|
||||
SIZEOF_INT: t.CDefine = 4
|
||||
SIZEOF_LONG: t.CDefine = t.CLong().Size // 8
|
||||
SIZEOF_LONG_LONG: t.CDefine = 8
|
||||
SIZEOF_FLOAT: t.CDefine = 4
|
||||
SIZEOF_DOUBLE: t.CDefine = 8
|
||||
SIZEOF_LONG_DOUBLE: t.CDefine = 16
|
||||
SIZEOF_POINTER: t.CDefine = t.CSizeT().Size // 8
|
||||
SIZEOF_SIZE_T: t.CDefine = t.CSizeT().Size // 8
|
||||
SIZEOF_PTRDIFF_T: t.CDefine = t.CPtrDiffT().Size // 8
|
||||
BYTE_ORDER_LE: t.CDefine = 1
|
||||
BYTE_ORDER_BE: t.CDefine = 0
|
||||
File diff suppressed because one or more lines are too long
@@ -1,80 +1,80 @@
|
||||
067c78e9f121dce3:includes/w32\win32process.py
|
||||
06f53cc594b4ac6c:includes/w32\win32sync.py
|
||||
0c9a196ed8f137a8:includes/llvmlite\__function.py
|
||||
0c67644125bea0fd:includes/sys.py
|
||||
0df65b8ed15664b0:includes/hashlib\__sha1.py
|
||||
1073ffca7e27aae5:lib/core/Handles/HandlesFunctions.py
|
||||
134678d620920327:lib/core/Handles/HandlesImports.py
|
||||
15bb32adb7093ed7:lib/core/Handles/HandlesAnnAssign.py
|
||||
19f8024d10c828e8:includes/hashlib\__md5.py
|
||||
1d74d1d3a174c684:includes/llvmlite\__init__.py
|
||||
20cd49775c100a38:includes/json\__writer.py
|
||||
22bc0df83b3f0e62:includes/ast\base.py
|
||||
240a9a4157959a9f:includes/json\__parser.py
|
||||
2703a899f26b771d:lib/core/Handles/HandlesReturn.py
|
||||
271ea3decb810db2:includes/atom.py
|
||||
2d39c6c7d3557b3e:includes/linkedlist.py
|
||||
285b6aa29a34754d:includes/stdio.py
|
||||
28de517e3820658a:includes/posix.py
|
||||
2b59175b77f1304e:lib/core/Handles/HandlesAssign.py
|
||||
2d523679d6b886ad:lib/core/Phase1.py
|
||||
2d8debefda779c40:includes/llvmlite\__types.py
|
||||
2da636c61863c815:includes/subprocess.py
|
||||
2fbec3db55b30ad4:includes/hashtable.py
|
||||
31e49accebfc8aac:lib/core/Handles/HandlesAugAssign.py
|
||||
36f17e746044defb:lib/core/Handles/HandlesType.py
|
||||
3a8870350b3cb1f7:lib/core/Handles/HandlesStruct.py
|
||||
371fa89e15d8c015:lib/core/Handles/HandlesStruct.py
|
||||
3aa6057398be5673:includes/stdlib.py
|
||||
3c5f1c61545644a9:lib/StubGen/Converter.py
|
||||
4337fb260448bbe2:includes/ast\astaux.py
|
||||
456fb516ba3c5002:lib/core/Handles/HandlesFor.py
|
||||
4650533467115342:lib/Projectrans/Utils.py
|
||||
4a7b57e6bd18f65e:lib/core/Handles/HandlesMain.py
|
||||
4daf5ed3f8e421a1:includes/string.py
|
||||
4dd6b3f1427d1cc5:includes/ast\match.py
|
||||
518fd98d3ebec951:lib/core/BuildPipeline.py
|
||||
51f0144d6e8188d9:lib/core/Handles/HandlesWhile.py
|
||||
57288496f7c2d1ad:includes/json\__init__.py
|
||||
5a1d8c48f1243746:includes/llvmlite\__builder.py
|
||||
5c482c6aac2ba83b:lib/core/Handles/HandlesExprCall.py
|
||||
62805d8ad3e9b5ba:lib/core/Handles/HandlesTranslator.py
|
||||
6282c9b745a35b8f:lib/core/IncludesScanner.py
|
||||
6293eee0a5805aa5:lib/core/Handles/HandlesImports.py
|
||||
63a3d17e96a083ac:lib/core/Handles/HandlesBase.py
|
||||
647c596aeb1fd27c:lib/core/Handles/HandlesExprCall.py
|
||||
6503c97dde0c79c4:includes/posix.py
|
||||
657e182b27c2a022:includes/ast\stmts.py
|
||||
668790e6c9efdbae:includes/_list.py
|
||||
66de93aaeebc0601:lib/core/Handles/HandlesIf.py
|
||||
68f2617198f5757f:lib/core/Handles/HandlesExpr.py
|
||||
692919c5a194ac8d:includes/llvmlite\__module.py
|
||||
6a19179426e9a883:lib/__init__.py
|
||||
6b3bc463fd044545:includes/llvmlite\__verify.py
|
||||
6be4daa5dc5fa7ce:includes/string.py
|
||||
6d88e12d1fb0efee:lib/core/Phase2.py
|
||||
6f62fe05c5ea1ceb:includes/stdio.py
|
||||
6ff26590374ae6fc:includes/hashlib\__sha512.py
|
||||
71e0a3ffcb3ebfad:includes/stdarg.py
|
||||
727a218636fc49ab:lib/core/Handles/HandlesFor.py
|
||||
72dbbb563aa943b0:includes/w32\fileio.py
|
||||
7ba06a9edf0fa6c7:lib/core/Phase2.py
|
||||
7cadfe07e983fd90:includes/_list.py
|
||||
81eb28ba912467a6:lib/core/Handles/HandlesBody.py
|
||||
88811298a7b47d02:lib/core/Handles/HandlesMain.py
|
||||
8cf4461e82a4ecf2:lib/core/Handles/HandlesAssign.py
|
||||
90c53dd6db8d41cf:includes/stdlib.py
|
||||
93c1d18e35d188d6:includes/platmacro.py
|
||||
874bac141c97bae9:includes/llvmlite\__function.py
|
||||
96837bcc64032444:includes/hashlib\__init__.py
|
||||
a299b2ce21d25f48:lib/StubGen/Converter.py
|
||||
adde71d4f0a1f628:includes/llvmlite\__builder.py
|
||||
a335eb99f2e34479:includes/subprocess.py
|
||||
a5e9a83e9db303ad:includes/linkedlist.py
|
||||
aa45364399b86a03:lib/core/Handles/HandlesClassDef.py
|
||||
af1cc6aaab47a7d1:lib/core/Handles/HandlesType.py
|
||||
af9484a65085bf4b:lib/core/Handles/HandlesNonlocal.py
|
||||
b4d2098ceb689168:includes/ast\parser.py
|
||||
b370d93b74bf55cc:includes/argparse.py
|
||||
b543bc1dfb592119:includes/ast\exprs.py
|
||||
b547ac4f380bddb6:includes/ast\tokens.py
|
||||
b5a965302cded36b:includes/sys.py
|
||||
b8c66c8ff44eb874:includes/hashtable.py
|
||||
ba2b074357dcd3b5:includes/memhub.py
|
||||
b57252077e6b596b:includes/platmacro.py
|
||||
bbdf3bbd4c3bc28c:includes/w32\win32console.py
|
||||
bdf5730851fb95f2:lib/core/VLogger.py
|
||||
be8c2d7b882881c8:lib/core/Handles/HandlesExprOps.py
|
||||
bfa1cc81748c0271:lib/core/Handles/HandlesClassDef.py
|
||||
c0042adc0b7ec5df:lib/Projectrans/Config.py
|
||||
c2010cffc6092ea2:main.py
|
||||
c3b259b4059f8668:includes/viperlib.py
|
||||
c6b0b8148dc63d5c:lib/core/Handles/HandlesExpr.py
|
||||
c9d54a4158f7f5a8:includes/hashlib\__sha256.py
|
||||
c9f4be41ca1cc2b4:includes/viperio.py
|
||||
ca44e2bae615339f:includes/argparse.py
|
||||
ca40915f11b8b6ad:includes/memhub.py
|
||||
cae1b2c5898ed6e5:lib/core/StubMerger.py
|
||||
cb1aa3a78af6f362:lib/core/Handles/HandlesVar.py
|
||||
dda2d0326dda1ff5:lib/core/Handles/HandlesAnnAssign.py
|
||||
e217def267d3d4a8:includes/ast\lexer.py
|
||||
ec8cf4a355eb1a65:lib/core/Phase1.py
|
||||
ede1b9cd3f28e8c8:lib/core/StubMerger.py
|
||||
e307a2d809cef071:includes/viperlib.py
|
||||
e991626c0aee9d7b:lib/core/BuildPipeline.py
|
||||
f05b14a2ad5767a7:lib/core/Handles/HandlesEnum.py
|
||||
f1e8dabe2ec63f05:lib/core/VLogger.py
|
||||
f23f91ad42cb466f:includes/llvmlite\__init__.py
|
||||
f331c46316ec1dd3:lib/core/Handles/HandlesTranslator.py
|
||||
f3444ec56937284f:includes/ast\__init__.py
|
||||
f5522571bcce7bcb:includes/stdint.py
|
||||
f6b51804a0ba8ff0:includes/w32\win32file.py
|
||||
f9e36e2cd6fa659f:includes/llvmlite\__values.py
|
||||
fc980acec33d69a7:includes/w32\win32base.py
|
||||
fde6db0747bdd959:includes/ast\parser.py
|
||||
|
||||
Binary file not shown.
@@ -1,44 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from sys.py
|
||||
Module: sys
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import platmacro
|
||||
import memhub
|
||||
import string
|
||||
import stdio
|
||||
import w32.win32base
|
||||
import w32.win32process
|
||||
import posix
|
||||
|
||||
_mbuddy: t.CExtern | memhub.MemBuddy | t.CPtr
|
||||
|
||||
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
|
||||
|
||||
def exit(status: INT) -> VOID | t.CExtern | t.CExport: pass
|
||||
|
||||
|
||||
maxsize: t.CDefine = 9223372036854775807
|
||||
|
||||
def platform() -> str: pass
|
||||
|
||||
def get_pid() -> int: pass
|
||||
|
||||
|
||||
_argc: t.CExtern | INT
|
||||
_argv: t.CExtern | str | t.CPtr
|
||||
|
||||
def _init_argv() -> t.CInt: pass
|
||||
|
||||
def _init_argv_win32() -> t.CInt: pass
|
||||
|
||||
def _init_argv_posix() -> t.CInt: pass
|
||||
|
||||
def argc() -> int: pass
|
||||
|
||||
def argv(index: int) -> str: pass
|
||||
@@ -1,46 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from hashtable.py
|
||||
Module: hashtable
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
import string
|
||||
import memhub
|
||||
from stdint import *
|
||||
|
||||
_HT_EMPTY: t.CDefine = 0
|
||||
_HT_TOMBSTONE: t.CDefine = 1
|
||||
_HT_INIT_CAP: t.CDefine = 16
|
||||
_HT_SLOT_SIZE: t.CDefine = 24
|
||||
_FNV_OFFSET: t.CExtern | t.CUInt64T
|
||||
_FNV_PRIME: t.CExtern | t.CUInt64T
|
||||
|
||||
def _fnv1a_hash(key: str) -> t.CUInt64T: pass
|
||||
|
||||
|
||||
class HashTable:
|
||||
__slots__: t.CVoid | t.CPtr
|
||||
__count__: t.CSizeT = 0
|
||||
__capacity__: t.CSizeT = 16
|
||||
__tombstones__: t.CSizeT = 0
|
||||
__mbuddy__: memhub.MemBuddy | t.CPtr
|
||||
__iter_index__: t.CSizeT = 0
|
||||
def __new__(self: HashTable, mb: memhub.MemBuddy | t.CPtr) -> t.CPtr: pass
|
||||
def __init__(self: HashTable, mb: memhub.MemBuddy | t.CPtr) -> t.CInt: pass
|
||||
def _slot_hash(self: HashTable, idx: t.CSizeT) -> t.CUInt64T: pass
|
||||
def _slot_key(self: HashTable, idx: t.CSizeT) -> str: pass
|
||||
def _slot_value(self: HashTable, idx: t.CSizeT) -> t.CPtr: pass
|
||||
def _set_slot(self: HashTable, idx: t.CSizeT, h: t.CUInt64T, key: str, val: t.CPtr) -> t.CInt: pass
|
||||
def _find_slot(self: HashTable, key: str, h: t.CUInt64T) -> t.CSizeT: pass
|
||||
def _resize(self: HashTable, new_cap: t.CSizeT) -> t.CInt: pass
|
||||
def __setitem__(self: HashTable, key: str, val: t.CNeedPtr) -> t.CInt: pass
|
||||
def __getitem__(self: HashTable, key: str) -> t.CPtr: pass
|
||||
def __contains__(self: HashTable, key: str) -> t.CInt: pass
|
||||
def __delitem__(self: HashTable, key: str) -> t.CInt: pass
|
||||
def __len__(self: HashTable) -> t.CSizeT: pass
|
||||
def __iter__(self: HashTable) -> HashTable | t.CPtr: pass
|
||||
def __next__(self: HashTable) -> str: pass
|
||||
def get(self: HashTable, key: str, default: t.CPtr) -> t.CPtr: pass
|
||||
def set_int(self: HashTable, key: str, val: int) -> t.CInt: pass
|
||||
def set_str(self: HashTable, key: str, val: str) -> t.CInt: pass
|
||||
@@ -1,23 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from viperlib.py
|
||||
Module: viperlib
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
import viperio
|
||||
from stdarg import arg, va_arg
|
||||
|
||||
TEMP_BUF_SIZE: t.CDefine = 68
|
||||
|
||||
def get_digit_count(num: t.CUnsignedInt, base: t.CInt) -> t.CStatic | t.CInt: pass
|
||||
|
||||
def sprintf(buf: t.CChar | t.CPtr, rule: str, *args) -> t.CVoid | t.CExport: pass
|
||||
|
||||
def vsprintf(buf: t.CChar | t.CPtr, rule: str, *args) -> t.CInt: pass
|
||||
|
||||
def snprintf(buf: t.CChar | t.CPtr, size: t.CSizeT, fmt: str, *args) -> t.CInt | t.CExport: pass
|
||||
|
||||
def _check_special_float(fv: t.CDouble) -> t.CInt: pass
|
||||
|
||||
def vsnprintf(buf: t.CChar | t.CPtr, size: t.CSizeT, fmt: str, ap: t.CChar | t.CPtr) -> t.CInt | t.CExport: pass
|
||||
Reference in New Issue
Block a user