修正 main 的 import
This commit is contained in:
1 parent
2f0ebc285b
commit
b7b17e0e7b
3467 files changed
+8353
-43756
No files matched your search
@@ -1 +1 @@
|
||||
t c vipermath
|
||||
t c vipermath _list
|
||||
@@ -1 +0,0 @@
|
||||
t stdint w32.win32base
|
||||
@@ -1 +0,0 @@
|
||||
t stdint w32.win32base
|
||||
@@ -1 +0,0 @@
|
||||
string t c
|
||||
@@ -10,7 +10,7 @@ class Inner:
|
||||
|
||||
@t.Object
|
||||
class Container:
|
||||
items: t.CArray[Inner, t.CInt]
|
||||
items: t.CArray[Inner, 10]
|
||||
count: t.CInt
|
||||
def __init__(self): pass
|
||||
def fill(self): pass
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
string t c
|
||||
@@ -1 +0,0 @@
|
||||
stdint string stdlib memhub t c
|
||||
@@ -1,19 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import memhub
|
||||
import string
|
||||
from stdio import snprintf
|
||||
from . import JsonValue, JSON_NULL, JSON_BOOL, JSON_INT, JSON_FLOAT, JSON_STRING, JSON_ARRAY, JSON_OBJECT
|
||||
def _write_char(buf: t.CChar | t.CPtr, pos: t.CSizeT, ch: t.CChar) -> t.CSizeT: pass
|
||||
|
||||
def _write_str(buf: t.CChar | t.CPtr, pos: t.CSizeT, s: t.CChar | t.CPtr) -> t.CSizeT: pass
|
||||
|
||||
def _write_string_escaped(buf: t.CChar | t.CPtr, pos: t.CSizeT, s: t.CChar | t.CPtr) -> t.CSizeT: pass
|
||||
|
||||
def _write_value(buf: t.CChar | t.CPtr, pos: t.CSizeT, val: JsonValue | t.CPtr, pool: memhub.MemManager | t.CPtr) -> t.CSizeT: pass
|
||||
|
||||
def write(pool: memhub.MemManager | t.CPtr, val: JsonValue | t.CPtr, pretty: bool) -> t.CChar | t.CPtr: pass
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string viperlib ast.tokens
|
||||
@@ -1,35 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import memhub
|
||||
import string
|
||||
from . import JsonValue, JSON_NULL, JSON_BOOL, JSON_INT, JSON_FLOAT, JSON_STRING, JSON_ARRAY, JSON_OBJECT, null, bool_val, int_val, float_val, string_val, array, object
|
||||
class ParseState:
|
||||
src: t.CChar | t.CPtr
|
||||
pos: t.CSizeT
|
||||
len: t.CSizeT
|
||||
pool: memhub.MemManager | t.CPtr
|
||||
def __init__(self, src: t.CChar | t.CPtr, pool: memhub.MemManager | t.CPtr): pass
|
||||
|
||||
def _peek(s: ParseState | t.CPtr) -> t.CChar: pass
|
||||
|
||||
def _advance(s: ParseState | t.CPtr) -> t.CChar: pass
|
||||
|
||||
def _skip_whitespace(s: ParseState | t.CPtr): pass
|
||||
|
||||
def _expect(s: ParseState | t.CPtr, ch: t.CChar) -> bool: pass
|
||||
|
||||
def _parse_string(s: ParseState | t.CPtr) -> t.CChar | t.CPtr: pass
|
||||
|
||||
def _parse_number(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def _parse_value(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def _parse_array(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def _parse_object(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def parse(pool: memhub.MemManager | t.CPtr, src: t.CChar | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
t c string memhub stdint
|
||||
@@ -1 +0,0 @@
|
||||
stdio t c
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string viperlib llvmlite.__types llvmlite.__values llvmlite.__function llvmlite.__module llvmlite.__builder llvmlite.__verify
|
||||
@@ -1 +1 @@
|
||||
t c
|
||||
t c _list
|
||||
@@ -1 +0,0 @@
|
||||
stdint zlib.zdeflate zdeflate zlib.zinflate zinflate zlib.zchecksum zchecksum zlib.zdef zdef zlib.zhuff zhuff stdlib string memhub t c
|
||||
@@ -1 +0,0 @@
|
||||
t c
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint string stdio viperlib memhub linkedlist llvmlite.__types llvmlite.__function
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string ast.base
|
||||
@@ -1 +0,0 @@
|
||||
stdint zlib.zchecksum zchecksum zlib.zdef zdef zlib.zhuff zhuff string memhub t c
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string ast.base
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint viperlib string memhub stdio stdlib linkedlist
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint w32.win32base
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string ast.base
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint string viperlib memhub linkedlist llvmlite.__function llvmlite.__module
|
||||
@@ -1 +0,0 @@
|
||||
t c
|
||||
@@ -1,65 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import memhub
|
||||
import string
|
||||
import viperio
|
||||
JSON_NULL: t.CDefine = 0
|
||||
JSON_BOOL: t.CDefine = 1
|
||||
JSON_INT: t.CDefine = 2
|
||||
JSON_FLOAT: t.CDefine = 3
|
||||
JSON_STRING: t.CDefine = 4
|
||||
JSON_ARRAY: t.CDefine = 5
|
||||
JSON_OBJECT: t.CDefine = 6
|
||||
class JsonValue:
|
||||
vtype: t.CInt
|
||||
bool_val: t.CInt
|
||||
int_val: t.CInt64T
|
||||
float_val: t.CDouble
|
||||
str_val: t.CChar | t.CPtr
|
||||
next: 'JsonValue' | t.CPtr
|
||||
key: t.CChar | t.CPtr
|
||||
child: 'JsonValue' | t.CPtr
|
||||
child_count: t.CSizeT
|
||||
def __new__(self, pool: memhub.MemManager | t.CPtr): pass
|
||||
def type(self) -> t.CInt: pass
|
||||
def is_null(self) -> bool: pass
|
||||
def is_bool(self) -> bool: pass
|
||||
def is_int(self) -> bool: pass
|
||||
def is_float(self) -> bool: pass
|
||||
def is_string(self) -> bool: pass
|
||||
def is_array(self) -> bool: pass
|
||||
def is_object(self) -> bool: pass
|
||||
def as_bool(self) -> bool: pass
|
||||
def as_int(self) -> t.CInt64T: pass
|
||||
def as_float(self) -> t.CDouble: pass
|
||||
def as_string(self) -> t.CChar | t.CPtr: pass
|
||||
def __len__(self) -> t.CSizeT: pass
|
||||
def __getitem__(self, key: t.CChar | t.CPtr) -> 'JsonValue' | t.CPtr: pass
|
||||
def __setitem__(self, key: t.CChar | t.CPtr, val: 'JsonValue' | t.CPtr): pass
|
||||
def get_item(self, index: t.CSizeT) -> 'JsonValue' | t.CPtr: pass
|
||||
def _pool_alloc(self, size: t.CSizeT) -> t.CChar | t.CPtr: pass
|
||||
def _append_child(self, child: 'JsonValue' | t.CPtr): pass
|
||||
|
||||
def null(pool: memhub.MemManager | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def bool_val(pool: memhub.MemManager | t.CPtr, val: bool) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def int_val(pool: memhub.MemManager | t.CPtr, val: t.CInt64T) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def float_val(pool: memhub.MemManager | t.CPtr, val: t.CDouble) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def string_val(pool: memhub.MemManager | t.CPtr, val: t.CChar | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def array(pool: memhub.MemManager | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def object(pool: memhub.MemManager | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def array_append(pool: memhub.MemManager | t.CPtr, arr: JsonValue | t.CPtr, item: JsonValue | t.CPtr): pass
|
||||
|
||||
def object_set(pool: memhub.MemManager | t.CPtr, obj: JsonValue | t.CPtr, key: t.CChar | t.CPtr, val: JsonValue | t.CPtr): pass
|
||||
|
||||
from .__parser import parse
|
||||
from .__writer import write
|
||||
@@ -1 +0,0 @@
|
||||
t c
|
||||
@@ -1 +0,0 @@
|
||||
t stdint w32.win32base
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint w32.win32process stdlib stdio string
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint string viperlib memhub stdio linkedlist llvmlite.__types
|
||||
@@ -1 +1 @@
|
||||
stdint t c
|
||||
stdint t c _list
|
||||
@@ -1 +0,0 @@
|
||||
stdint zlib.zchecksum zchecksum zlib.zhuff zhuff zlib.zdef zdef string memhub t c
|
||||
@@ -1 +1 @@
|
||||
t stdint vqt6._types vqt6._qtcore vqt6._qtwidgets vqt6._qtgui vqt6._qtnetwork
|
||||
t stdint vqt6._types vqt6._qtcore vqt6._qtwidgets vqt6._qtgui vqt6._qtnetwork _list
|
||||
@@ -1,17 +1,14 @@
|
||||
aa246c6e6aa30484:includes/atom.vp
|
||||
6ddf430432a0e373:includes/json/__init__.vp
|
||||
240a9a4157959a9f:includes/json/__parser.vp
|
||||
20cd49775c100a38:includes/json/__writer.vp
|
||||
f9d023d1df2bc9c5:includes/memhub.vp
|
||||
ac87eb59087b9c33:includes/builtins.vp
|
||||
2a61eed4abe49e06:includes/memhub.vp
|
||||
f5522571bcce7bcb:includes/stdint.vp
|
||||
285b6aa29a34754d:includes/stdio.vp
|
||||
6c658cc728d0bbf4:includes/stdlib.vp
|
||||
ffaf70367668b227:includes/string.vp
|
||||
40b053f21c0df07c:includes/string.vp
|
||||
748d0424e8976fa0:includes/testcheck.vp
|
||||
c9f4be41ca1cc2b4:includes/viperio.vp
|
||||
fc980acec33d69a7:includes/w32/win32base.vp
|
||||
bbdf3bbd4c3bc28c:includes/w32/win32console.vp
|
||||
e0f0afe3caa1e486:includes/_dict.vp
|
||||
2c175afd85852faf:includes/viperio.vp
|
||||
e710417730391023:includes/w32/win32base.vp
|
||||
db613a1bd6a3ca26:includes/w32/win32console.vp
|
||||
7cadfe07e983fd90:includes/_list.vp
|
||||
14b944bb7e81fd72:inline_test.vp
|
||||
924ed8cd4ea5c4c2:main.vp
|
||||
640c0de988ce8ca0:main.vp
|
||||
@@ -1 +1 @@
|
||||
t c
|
||||
t c _list
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint string viperlib memhub stdio linkedlist llvmlite.__types llvmlite.__values llvmlite.__function
|
||||
@@ -1 +0,0 @@
|
||||
t
|
||||
@@ -1 +1 @@
|
||||
t memhub string
|
||||
t memhub string _list
|
||||
@@ -1 +0,0 @@
|
||||
t c string memhub stdio hashtable
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string ast.base
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string
|
||||
@@ -1 +0,0 @@
|
||||
t stdint w32.win32base
|
||||
@@ -1,141 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
import c
|
||||
|
||||
import t
|
||||
from stdint import *
|
||||
from w32.win32base import *
|
||||
ENABLE_PROCESSED_INPUT: t.CDefine = 1
|
||||
ENABLE_LINE_INPUT: t.CDefine = 2
|
||||
ENABLE_ECHO_INPUT: t.CDefine = 4
|
||||
ENABLE_WINDOW_INPUT: t.CDefine = 8
|
||||
ENABLE_MOUSE_INPUT: t.CDefine = 16
|
||||
ENABLE_INSERT_MODE: t.CDefine = 32
|
||||
ENABLE_QUICK_EDIT_MODE: t.CDefine = 64
|
||||
ENABLE_EXTENDED_FLAGS: t.CDefine = 128
|
||||
ENABLE_PROCESSED_OUTPUT: t.CDefine = 1
|
||||
ENABLE_WRAP_AT_EOL_OUTPUT: t.CDefine = 2
|
||||
ENABLE_VIRTUAL_TERMINAL_PROCESSING: t.CDefine = 4
|
||||
DISABLE_NEWLINE_AUTO_RETURN: t.CDefine = 8
|
||||
ENABLE_LVB_GRID_WORLDWIDE: t.CDefine = 16
|
||||
FOREGROUND_BLUE: t.CDefine = 1
|
||||
FOREGROUND_GREEN: t.CDefine = 2
|
||||
FOREGROUND_RED: t.CDefine = 4
|
||||
FOREGROUND_INTENSITY: t.CDefine = 8
|
||||
BACKGROUND_BLUE: t.CDefine = 16
|
||||
BACKGROUND_GREEN: t.CDefine = 32
|
||||
BACKGROUND_RED: t.CDefine = 64
|
||||
BACKGROUND_INTENSITY: t.CDefine = 128
|
||||
KEY_EVENT: t.CDefine = 1
|
||||
MOUSE_EVENT: t.CDefine = 2
|
||||
WINDOW_BUFFER_SIZE_EVENT: t.CDefine = 4
|
||||
MENU_EVENT: t.CDefine = 8
|
||||
FOCUS_EVENT: t.CDefine = 16
|
||||
class COORD:
|
||||
X: SHORT
|
||||
Y: SHORT
|
||||
|
||||
class SMALL_RECT:
|
||||
Left: SHORT
|
||||
Top: SHORT
|
||||
Right: SHORT
|
||||
Bottom: SHORT
|
||||
|
||||
class CONSOLE_SCREEN_BUFFER_INFO:
|
||||
dwSize: COORD
|
||||
dwCursorPosition: COORD
|
||||
wAttributes: WORD
|
||||
srWindow: SMALL_RECT
|
||||
dwMaximumWindowSize: COORD
|
||||
|
||||
class CONSOLE_CURSOR_INFO:
|
||||
dwSize: ULONG
|
||||
bVisible: BOOL
|
||||
|
||||
class CHAR_INFO:
|
||||
UnicodeChar: WCHAR
|
||||
Attributes: WORD
|
||||
|
||||
class KEY_EVENT_RECORD:
|
||||
bKeyDown: BOOL
|
||||
wRepeatCount: WORD
|
||||
wVirtualKeyCode: WORD
|
||||
wVirtualScanCode: WORD
|
||||
uChar: WCHAR
|
||||
dwControlKeyState: ULONG
|
||||
|
||||
class MOUSE_EVENT_RECORD:
|
||||
dwMousePosition: COORD
|
||||
dwButtonState: ULONG
|
||||
dwControlKeyState: ULONG
|
||||
dwEventFlags: ULONG
|
||||
|
||||
class WINDOW_BUFFER_SIZE_RECORD:
|
||||
dwSize: COORD
|
||||
|
||||
class INPUT_RECORD:
|
||||
EventType: WORD
|
||||
Event: KEY_EVENT_RECORD
|
||||
|
||||
def SetConsoleOutputCP(codepage: UINT) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleCP(codepage: UINT) -> BOOL | t.State: pass
|
||||
|
||||
def GetConsoleCP() -> UINT | t.State: pass
|
||||
|
||||
def GetConsoleOutputCP() -> UINT | t.State: pass
|
||||
|
||||
def GetConsoleScreenBufferInfo(hConsoleOutput: HANDLE, lpConsoleScreenBufferInfo: CONSOLE_SCREEN_BUFFER_INFO | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleScreenBufferSize(hConsoleOutput: HANDLE, dwSize: COORD) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleCursorPosition(hConsoleOutput: HANDLE, dwCursorPosition: COORD) -> BOOL | t.State: pass
|
||||
|
||||
def GetConsoleCursorInfo(hConsoleOutput: HANDLE, lpConsoleCursorInfo: CONSOLE_CURSOR_INFO | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleCursorInfo(hConsoleOutput: HANDLE, lpConsoleCursorInfo: CONSOLE_CURSOR_INFO | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleTextAttribute(hConsoleOutput: HANDLE, wAttributes: WORD) -> BOOL | t.State: pass
|
||||
|
||||
def FillConsoleOutputCharacterA(hConsoleOutput: HANDLE, cCharacter: t.CChar, nLength: ULONG, dwWriteCoord: COORD, lpNumberOfCharsWritten: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def FillConsoleOutputCharacterW(hConsoleOutput: HANDLE, cCharacter: WCHAR, nLength: ULONG, dwWriteCoord: COORD, lpNumberOfCharsWritten: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def FillConsoleOutputAttribute(hConsoleOutput: HANDLE, wAttribute: WORD, nLength: ULONG, dwWriteCoord: COORD, lpNumberOfAttrsWritten: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def WriteConsoleA(hConsoleOutput: HANDLE, lpBuffer: t.CConst | VOIDPTR, nNumberOfCharsToWrite: ULONG, lpNumberOfCharsWritten: ULONG | t.CPtr, lpReserved: VOIDPTR) -> BOOL | t.State: pass
|
||||
|
||||
def WriteConsoleW(hConsoleOutput: HANDLE, lpBuffer: t.CConst | VOIDPTR, nNumberOfCharsToWrite: ULONG, lpNumberOfCharsWritten: ULONG | t.CPtr, lpReserved: VOIDPTR) -> BOOL | t.State: pass
|
||||
|
||||
def ReadConsoleA(hConsoleInput: HANDLE, lpBuffer: VOIDPTR, nNumberOfCharsToRead: ULONG, lpNumberOfCharsRead: ULONG | t.CPtr, pInputControl: VOIDPTR) -> BOOL | t.State: pass
|
||||
|
||||
def ReadConsoleW(hConsoleInput: HANDLE, lpBuffer: VOIDPTR, nNumberOfCharsToRead: ULONG, lpNumberOfCharsRead: ULONG | t.CPtr, pInputControl: VOIDPTR) -> BOOL | t.State: pass
|
||||
|
||||
def GetConsoleMode(hConsoleHandle: HANDLE, lpMode: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleMode(hConsoleHandle: HANDLE, dwMode: ULONG) -> BOOL | t.State: pass
|
||||
|
||||
def ReadConsoleInputA(hConsoleInput: HANDLE, lpBuffer: INPUT_RECORD | t.CPtr, nLength: ULONG, lpNumberOfEventsRead: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def ReadConsoleInputW(hConsoleInput: HANDLE, lpBuffer: INPUT_RECORD | t.CPtr, nLength: ULONG, lpNumberOfEventsRead: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def GetNumberOfConsoleInputEvents(hConsoleInput: HANDLE, lpNumberOfEvents: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def FlushConsoleInputBuffer(hConsoleInput: HANDLE) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleTitleA(lpConsoleTitle: LPCSTR) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleTitleW(lpConsoleTitle: LPCWSTR) -> BOOL | t.State: pass
|
||||
|
||||
def GetConsoleTitleA(lpConsoleTitle: CHARPTR, nSize: ULONG) -> ULONG | t.State: pass
|
||||
|
||||
def GetConsoleTitleW(lpConsoleTitle: WCHARPTR, nSize: ULONG) -> ULONG | t.State: pass
|
||||
|
||||
def AllocConsole() -> BOOL | t.State: pass
|
||||
|
||||
def FreeConsole() -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleWindowInfo(hConsoleOutput: HANDLE, bAbsolute: BOOL, lpConsoleWindow: SMALL_RECT | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def ScrollConsoleScreenBufferA(hConsoleOutput: HANDLE, lpScrollRectangle: SMALL_RECT | t.CPtr, lpClipRectangle: SMALL_RECT | t.CPtr, dwDestinationOrigin: COORD, lpFill: CHAR_INFO | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
stdint stdlib string vipermath stdio t c memhub
|
||||
@@ -1 +0,0 @@
|
||||
t c
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint
|
||||
@@ -1,19 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
class Buf:
|
||||
data: t.CChar | t.CPtr
|
||||
length: t.CSizeT
|
||||
capacity: t.CSizeT
|
||||
owned: bool
|
||||
def __init__(self, data: t.CChar | t.CPtr, capacity: t.CSizeT, length: t.CSizeT, owned: bool): pass
|
||||
def clear(self): pass
|
||||
def write(self, src: t.CChar | t.CPtr, count: t.CSizeT) -> t.CSizeT: pass
|
||||
def cstr(self) -> t.CChar | t.CPtr: pass
|
||||
def reset(self): pass
|
||||
def __enter__(self) -> 'Buf' | t.CPtr: pass
|
||||
def __exit__(self): pass
|
||||
def free(self): pass
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
t c
|
||||
@@ -1 +0,0 @@
|
||||
stdint zlib.zdef zdef memhub t c
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string ast.tokens ast.base ast.stmts ast.exprs ast.astaux ast.visitor ast.lexer ast.parser ast.parser
|
||||
@@ -1 +1 @@
|
||||
t c memhub string json stdint
|
||||
t c memhub string json stdint _dict
|
||||
@@ -1,49 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
import memhub
|
||||
import string
|
||||
import json
|
||||
from stdint import *
|
||||
VARIANT_NONE: t.CDefine = 0
|
||||
VARIANT_INT: t.CDefine = 1
|
||||
VARIANT_FLOAT: t.CDefine = 2
|
||||
VARIANT_DOUBLE: t.CDefine = 3
|
||||
VARIANT_STR: t.CDefine = 4
|
||||
VARIANT_DICT: t.CDefine = 5
|
||||
VARIANT_LIST: t.CDefine = 6
|
||||
VARIANT_BOOL: t.CDefine = 7
|
||||
VARIANT_PTR: t.CDefine = 8
|
||||
_VARIANT_SIZE: t.CDefine = 16
|
||||
class dict:
|
||||
__keys__: t.CPtr
|
||||
__values__: t.CPtr
|
||||
__count__: t.CSizeT
|
||||
__capacity__: t.CSizeT
|
||||
__mbuddy__: memhub.MemBuddy | t.CPtr
|
||||
__iter_index__: t.CSizeT
|
||||
def __new__(self, mb: memhub.MemBuddy | t.CPtr) -> t.CPtr: pass
|
||||
def __init__(self, mb: memhub.MemBuddy | t.CPtr): pass
|
||||
def __len__(self) -> t.CSizeT: pass
|
||||
def _find(self, key: str) -> t.CSizeT: pass
|
||||
def __getitem__(self, key: str) -> t.CPtr: pass
|
||||
def __setitem__(self, key: str, val: t.CNeedPtr): pass
|
||||
def _set_variant_raw(self, key: str, vtype: t.CInt, ptr: t.CPtr): pass
|
||||
def set_int(self, key: str, val: int): pass
|
||||
def set_str(self, key: str, val: str): pass
|
||||
def set_float(self, key: str, val: float): pass
|
||||
def set_double(self, key: str, val: t.CDouble): pass
|
||||
def set_dict(self, key: str, val: dict | t.CPtr): pass
|
||||
def set_list(self, key: str, val: t.CPtr): pass
|
||||
def set_bool(self, key: str, val: t.CInt): pass
|
||||
def get_vtype(self, key: str) -> t.CInt: pass
|
||||
def get(self, key: str, default: t.CPtr) -> t.CPtr: pass
|
||||
def contains(self, key: str) -> t.CInt: pass
|
||||
def __iter__(self) -> dict | t.CPtr: pass
|
||||
def __next__(self) -> str: pass
|
||||
def to_json(self, pool: memhub.MemManager | t.CPtr) -> json.JsonValue | t.CPtr: pass
|
||||
def from_json(self, pool: memhub.MemManager | t.CPtr, root: json.JsonValue | t.CPtr): pass
|
||||
def dumps(self, pool: memhub.MemManager | t.CPtr) -> str: pass
|
||||
def loads(self, pool: memhub.MemManager | t.CPtr, json_str: str): pass
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string ast.tokens
|
||||
@@ -1 +0,0 @@
|
||||
t c viperio stdarg
|
||||
@@ -1 +0,0 @@
|
||||
t stdint w32.win32base
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint string atom viperio stdio stdlib
|
||||
@@ -1,97 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import string
|
||||
import atom
|
||||
import viperio
|
||||
import stdio
|
||||
import stdlib
|
||||
MEMHUB_ALIGN: t.CDefine = 8
|
||||
MEMSLAB_MIN_BLOCK: t.CDefine = 16
|
||||
MEMSLAB_BITMAP_BYTES: t.CDefine = 256
|
||||
MEMBUDDY_MIN_BLOCK: t.CDefine = 32
|
||||
MEMBUDDY_MAX_ORDERS: t.CDefine = 32
|
||||
MEMBUDDY_HEADER_SIZE: t.CDefine = 8
|
||||
def _align_up(val: t.CSizeT, align: t.CSizeT) -> t.CSizeT: pass
|
||||
|
||||
def _largest_pow2_le(val: t.CSizeT) -> t.CSizeT: pass
|
||||
|
||||
def _block_size_at_order(order: t.CInt) -> t.CSizeT: pass
|
||||
|
||||
@t.CVTable
|
||||
class MemManager:
|
||||
__provides__: list[str]
|
||||
base: t.CVoid | t.CPtr
|
||||
size: t.CSizeT
|
||||
def __init__(self, base: t.CVoid | t.CPtr, size: t.CSizeT): pass
|
||||
def alloc(self, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def free(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
|
||||
def reset(self) -> t.CInt: pass
|
||||
def calloc(self, count: t.CSizeT, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def realloc(self, ptr: t.CVoid | t.CPtr, new_size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def __enter__(self) -> 'MemManager' | t.CPtr: pass
|
||||
def __exit__(self): pass
|
||||
def alloc_buf(self, capacity: t.CSizeT) -> viperio.Buf | t.CPtr: pass
|
||||
|
||||
class MemPool(MemManager):
|
||||
offset: t.CSizeT
|
||||
high_water: t.CSizeT
|
||||
def __init__(self, base: t.CVoid | t.CPtr, size: t.CSizeT): pass
|
||||
def alloc(self, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def free(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
|
||||
def reset(self) -> t.CInt: pass
|
||||
|
||||
class MemSlab(MemManager):
|
||||
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
|
||||
usable: t.CVoid | t.CPtr
|
||||
usable_size: t.CSizeT
|
||||
def __init__(self, base: t.CVoid | t.CPtr, size: t.CSizeT, block_size: t.CSizeT): pass
|
||||
def alloc(self, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def free(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
|
||||
def reset(self) -> t.CInt: pass
|
||||
|
||||
class MemBuddy(MemManager):
|
||||
__provides__: list[str]
|
||||
max_order: t.CInt
|
||||
free_lists: t.CUInt64T | t.CPtr
|
||||
lock_val: t.CVolatile | t.CInt
|
||||
usable: t.CVoid | t.CPtr
|
||||
usable_size: t.CSizeT
|
||||
chk_stack: t.CUInt64T | t.CPtr
|
||||
chk_cap: t.CSizeT
|
||||
chk_depth: t.CSizeT
|
||||
chk_base: t.CVoid | t.CPtr
|
||||
def __init__(self, base: t.CVoid | t.CPtr, size: t.CSizeT): pass
|
||||
def mark(self) -> t.CSizeT: pass
|
||||
def reset_to(self, mark: t.CSizeT): pass
|
||||
def reset_all(self): pass
|
||||
def _fl_push(self, order: t.CInt, block: t.CVoid | t.CPtr): pass
|
||||
def _fl_pop(self, order: t.CInt) -> t.CVoid | t.CPtr: pass
|
||||
def _fl_find_and_remove(self, order: t.CInt, target: t.CVoid | t.CPtr) -> t.CInt: pass
|
||||
def _buddy_of(self, block: t.CVoid | t.CPtr, order: t.CInt) -> t.CVoid | t.CPtr: pass
|
||||
def _order_for_size(self, size: t.CSizeT) -> t.CInt: pass
|
||||
def _split_to_order(self, to_order: t.CInt) -> t.CVoid | t.CPtr: pass
|
||||
def _coalesce(self, block: t.CVoid | t.CPtr, order: t.CInt): pass
|
||||
def _is_valid_ptr(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
|
||||
def _lock(self): pass
|
||||
def _unlock(self): pass
|
||||
def alloc(self, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
def free(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
|
||||
def reset(self) -> t.CInt: pass
|
||||
def realloc(self, ptr: t.CVoid | t.CPtr, new_size: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
||||
@property
|
||||
def mem_size(self) -> t.CSizeT: pass
|
||||
def stats(self) -> t.CSizeT: pass
|
||||
def free_count(self) -> t.CSizeT: pass
|
||||
def free_bytes(self) -> t.CSizeT: pass
|
||||
def used_bytes(self) -> t.CSizeT: pass
|
||||
def dump_stats(self, label: t.CChar | t.CPtr): pass
|
||||
def self_check(self) -> t.CInt: pass
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint string viperlib memhub linkedlist llvmlite.__types
|
||||
@@ -1 +0,0 @@
|
||||
t stdint
|
||||
@@ -1,101 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
import c
|
||||
|
||||
import t
|
||||
from stdint import *
|
||||
HANDLE: t.CTypedef = VOIDPTR
|
||||
LPCSTR: t.CTypedef = t.CConst | t.CChar | t.CPtr
|
||||
LPCWSTR: t.CTypedef = t.CConst | t.CUnsignedShort | t.CPtr
|
||||
INVALID_HANDLE_VALUE: t.CDefine = 4294967295
|
||||
NULL: t.CDefine = 0
|
||||
TRUE: t.CDefine = 1
|
||||
FALSE: t.CDefine = 0
|
||||
INFINITE: t.CDefine = 4294967295
|
||||
WAIT_FAILED: t.CDefine = 4294967295
|
||||
WAIT_OBJECT_0: t.CDefine = 0
|
||||
WAIT_TIMEOUT: t.CDefine = 258
|
||||
WAIT_ABANDONED: t.CDefine = 128
|
||||
MAX_PATH: t.CDefine = 260
|
||||
ERROR_SUCCESS: t.CDefine = 0
|
||||
ERROR_FILE_NOT_FOUND: t.CDefine = 2
|
||||
ERROR_ACCESS_DENIED: t.CDefine = 5
|
||||
ERROR_INSUFFICIENT_BUFFER: t.CDefine = 122
|
||||
class SECURITY_ATTRIBUTES:
|
||||
nLength: ULONG
|
||||
lpSecurityDescriptor: VOIDPTR
|
||||
bInheritHandle: BOOL
|
||||
|
||||
class OVERLAPPED:
|
||||
Internal: ULONGLONG
|
||||
InternalHigh: ULONGLONG
|
||||
Offset: ULONG
|
||||
OffsetHigh: ULONG
|
||||
hEvent: HANDLE
|
||||
|
||||
class FILETIME:
|
||||
dwLowDateTime: DWORD
|
||||
dwHighDateTime: DWORD
|
||||
|
||||
class SYSTEMTIME:
|
||||
wYear: WORD
|
||||
wMonth: WORD
|
||||
wDayOfWeek: WORD
|
||||
wDay: WORD
|
||||
wHour: WORD
|
||||
wMinute: WORD
|
||||
wSecond: WORD
|
||||
wMilliseconds: WORD
|
||||
|
||||
class GUID:
|
||||
Data1: DWORD
|
||||
Data2: WORD
|
||||
Data3: WORD
|
||||
Data4: BYTEPTR
|
||||
|
||||
class LARGE_INTEGER:
|
||||
QuadPart: LONGLONG
|
||||
|
||||
class ULARGE_INTEGER:
|
||||
QuadPart: ULONGLONG
|
||||
|
||||
def GetLastError() -> ULONG | t.State: pass
|
||||
|
||||
def SetLastError(dwErrCode: ULONG) -> t.State: pass
|
||||
|
||||
def CloseHandle(hObject: HANDLE) -> BOOL | t.State: pass
|
||||
|
||||
def GetProcAddress(hModule: HANDLE, lpProcName: LPCSTR) -> VOIDPTR | t.State: pass
|
||||
|
||||
def GetModuleHandleA(lpModuleName: LPCSTR) -> HANDLE | t.State: pass
|
||||
|
||||
def GetModuleHandleW(lpModuleName: LPCWSTR) -> HANDLE | t.State: pass
|
||||
|
||||
def LoadLibraryA(lpLibFileName: LPCSTR) -> HANDLE | t.State: pass
|
||||
|
||||
def LoadLibraryW(lpLibFileName: LPCWSTR) -> HANDLE | t.State: pass
|
||||
|
||||
def FreeLibrary(hLibModule: HANDLE) -> BOOL | t.State: pass
|
||||
|
||||
def GetSystemTime(lpSystemTime: SYSTEMTIME | t.CPtr) -> t.State: pass
|
||||
|
||||
def GetLocalTime(lpSystemTime: SYSTEMTIME | t.CPtr) -> t.State: pass
|
||||
|
||||
def FileTimeToSystemTime(lpFileTime: FILETIME | t.CPtr, lpSystemTime: SYSTEMTIME | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SystemTimeToFileTime(lpSystemTime: SYSTEMTIME | t.CPtr, lpFileTime: FILETIME | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def QueryPerformanceCounter(lpPerformanceCount: LARGE_INTEGER | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def QueryPerformanceFrequency(lpFrequency: LARGE_INTEGER | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def Sleep(dwMilliseconds: ULONG) -> t.State: pass
|
||||
|
||||
def SleepEx(dwMilliseconds: ULONG, bAlertable: BOOL) -> ULONG | t.State: pass
|
||||
|
||||
def GetTickCount() -> ULONG | t.State: pass
|
||||
|
||||
def GetTickCount64() -> ULONGLONG | t.State: pass
|
||||
|
||||
def GetCommandLineA() -> CHARPTR | t.State: pass
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
t c stdint memhub string ast.tokens ast.base ast.exprs ast.stmts ast.astaux ast.lexer
|
||||
@@ -1 +0,0 @@
|
||||
stdint t c
|
||||
@@ -1,54 +0,0 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
from stdint import *
|
||||
import t, c
|
||||
def strcpy(dest: str, src: str) -> str: pass
|
||||
|
||||
def strcat(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 strstr(s: str, needle: str) -> 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: t.CArray[str]) -> int: pass
|
||||
|
||||
ascii_lowercase: str
|
||||
ascii_uppercase: str
|
||||
ascii_letters: str
|
||||
digits: str
|
||||
hexdigits: str
|
||||
octdigits: str
|
||||
punctuation: str
|
||||
whitespace: str
|
||||
printable: str
|
||||
@@ -1 +0,0 @@
|
||||
{"memhub": "04e5fe47ff2af528", "stdio": "285b6aa29a34754d", "stdlib": "6c658cc728d0bbf4", "testcheck": "748d0424e8976fa0", "_list": "7cadfe07e983fd90", "string": "928c0ff6d8c69ec9", "atom": "aa246c6e6aa30484", "w32.win32console": "bbdf3bbd4c3bc28c", "win32console": "bbdf3bbd4c3bc28c", "viperio": "c9f4be41ca1cc2b4", "stdint": "f5522571bcce7bcb", "w32.win32base": "fc980acec33d69a7", "win32base": "fc980acec33d69a7"}
|
||||
@@ -1 +0,0 @@
|
||||
f5522571bcce7bcb
|
||||
@@ -1,22 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from stdlib.vp
|
||||
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
|
||||
|
||||
def exit(status: int) -> t.State: pass
|
||||
@@ -1 +0,0 @@
|
||||
04e5fe47ff2af528|285b6aa29a34754d|6c658cc728d0bbf4|928c0ff6d8c69ec9|aa246c6e6aa30484|c9f4be41ca1cc2b4|f5522571bcce7bcb
|
||||
@@ -1,30 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from _list.vp
|
||||
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 = 0) -> t.CInt: pass
|
||||
def __init__(self: list, pool: memhub.MemManager | t.CPtr, elem_size: t.CSizeT = 0) -> 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
|
||||
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1,38 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from main.vp
|
||||
Module: main
|
||||
"""
|
||||
|
||||
|
||||
import t
|
||||
import stdio
|
||||
import string
|
||||
import c
|
||||
import testcheck
|
||||
|
||||
def test_string_ptr_iter() -> t.CInt: pass
|
||||
|
||||
def test_string_ascii_sum() -> t.CInt: pass
|
||||
|
||||
def test_manual_strcpy() -> t.CInt: pass
|
||||
|
||||
def test_ptr_offset_compare() -> t.CInt: pass
|
||||
|
||||
def test_manual_strlen() -> t.CInt: pass
|
||||
|
||||
def test_reverse_string_ptr() -> t.CInt: pass
|
||||
|
||||
def test_double_pointer() -> t.CInt: pass
|
||||
|
||||
def test_ptr_arithmetic() -> t.CInt: pass
|
||||
|
||||
def test_manual_strcmp() -> t.CInt: pass
|
||||
|
||||
|
||||
class Vec2:
|
||||
x: t.CInt
|
||||
y: t.CInt
|
||||
|
||||
def test_struct_ptr_access() -> t.CInt: pass
|
||||
|
||||
def main() -> t.CInt: pass
|
||||
@@ -1 +1 @@
|
||||
{"d:\\Users\\TermiNexus\\Desktop\\TransPyC\\Test\\StringIterTest\\App\\main.vp": {"sha1": "924ed8cd4ea5c4c2", "mtime": 1782271507.3310895, "size": 6472}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\_list.vp": {"sha1": "7cadfe07e983fd90", "mtime": 1785338614.5410473, "size": 3238}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\atom.vp": {"sha1": "aa246c6e6aa30484", "mtime": 1785389628.701967, "size": 1198}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\memhub.vp": {"sha1": "04e5fe47ff2af528", "mtime": 1786093335.1900027, "size": 27855}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\stdint.vp": {"sha1": "f5522571bcce7bcb", "mtime": 1785563642.3805652, "size": 4356}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\stdio.vp": {"sha1": "285b6aa29a34754d", "mtime": 1785332415.1829746, "size": 561}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\stdlib.vp": {"sha1": "6c658cc728d0bbf4", "mtime": 1785750602.5446548, "size": 413}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\string.vp": {"sha1": "928c0ff6d8c69ec9", "mtime": 1786032947.9330952, "size": 11557}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\testcheck.vp": {"sha1": "748d0424e8976fa0", "mtime": 1785332415.20287, "size": 1919}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\viperio.vp": {"sha1": "c9f4be41ca1cc2b4", "mtime": 1782812279.506002, "size": 1556}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\w32\\win32base.vp": {"sha1": "fc980acec33d69a7", "mtime": 1785332415.2228394, "size": 2653}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\w32\\win32console.vp": {"sha1": "bbdf3bbd4c3bc28c", "mtime": 1781200703.5338137, "size": 5604}}
|
||||
{"d:\\Users\\TermiNexus\\Desktop\\TransPyC\\Test\\StringIterTest\\App\\main.vp": {"sha1": "640c0de988ce8ca0", "mtime": 1786215695.5721605, "size": 6488}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\stdint.vp": {"sha1": "f5522571bcce7bcb", "mtime": 1785563642.3805652, "size": 4356}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\stdio.vp": {"sha1": "285b6aa29a34754d", "mtime": 1785332415.1829746, "size": 561}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\string.vp": {"sha1": "40b053f21c0df07c", "mtime": 1786533758.705974, "size": 11985}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\testcheck.vp": {"sha1": "748d0424e8976fa0", "mtime": 1785332415.20287, "size": 1919}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\w32\\win32base.vp": {"sha1": "fc980acec33d69a7", "mtime": 1785332415.2228394, "size": 2653}, "d:\\Users\\TermiNexus\\Desktop\\TransPyC\\includes\\w32\\win32console.vp": {"sha1": "bbdf3bbd4c3bc28c", "mtime": 1781200703.5338137, "size": 5604}}
|
||||
@@ -1,12 +1,7 @@
|
||||
04e5fe47ff2af528:includes/memhub.vp
|
||||
285b6aa29a34754d:includes/stdio.vp
|
||||
6c658cc728d0bbf4:includes/stdlib.vp
|
||||
40b053f21c0df07c:includes/string.vp
|
||||
640c0de988ce8ca0:main.vp
|
||||
748d0424e8976fa0:includes/testcheck.vp
|
||||
7cadfe07e983fd90:includes/_list.vp
|
||||
924ed8cd4ea5c4c2:main.vp
|
||||
928c0ff6d8c69ec9:includes/string.vp
|
||||
aa246c6e6aa30484:includes/atom.vp
|
||||
bbdf3bbd4c3bc28c:includes/w32\win32console.vp
|
||||
c9f4be41ca1cc2b4:includes/viperio.vp
|
||||
f5522571bcce7bcb:includes/stdint.vp
|
||||
fc980acec33d69a7:includes/w32\win32base.vp
|
||||
Whitespace-only changes.
@@ -1,26 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from atom.vp
|
||||
Module: atom
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
|
||||
ATOMIC_RELAXED: t.CDefine = 0
|
||||
ATOMIC_CONSUME: t.CDefine = 1
|
||||
ATOMIC_ACQUIRE: t.CDefine = 2
|
||||
ATOMIC_RELEASE: t.CDefine = 3
|
||||
ATOMIC_ACQ_REL: t.CDefine = 4
|
||||
ATOMIC_SEQ_CST: t.CDefine = 5
|
||||
|
||||
def __atomic_test_and_set(ptr: t.CUInt64T | t.CPtr, order: t.CInt) -> t.CBool: pass
|
||||
|
||||
def __atomic_clear(ptr: t.CUInt64T | t.CPtr, order: t.CInt) -> t.CVoid: pass
|
||||
|
||||
def __atomic_thread_fence(order: t.CInt) -> t.CVoid: pass
|
||||
|
||||
def __atomic_signal_fence(order: t.CInt) -> t.CVoid: pass
|
||||
|
||||
def __atomic_always_lock_free(size: t.CSizeT, ptr: t.CVoid | t.CPtr) -> t.CBool: pass
|
||||
|
||||
def __atomic_is_lock_free(size: t.CSizeT, ptr: t.CVoid | t.CPtr) -> t.CBool: pass
|
||||
@@ -1 +0,0 @@
|
||||
f5522571bcce7bcb
|
||||
@@ -1,22 +0,0 @@
|
||||
"""
|
||||
Auto-generated Python stub file from viperio.vp
|
||||
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 = 0, owned: bool = False) -> 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