40 lines
769 B
Python
40 lines
769 B
Python
"""
|
|
Auto-generated Python stub file from main.py
|
|
Module: main
|
|
"""
|
|
|
|
import c
|
|
|
|
|
|
import t
|
|
import stdio
|
|
import testcheck
|
|
import stdlib
|
|
import memhub
|
|
import string
|
|
from linkedlist import GSListNode, GSList
|
|
|
|
@t.NoVTable
|
|
class G5Node(GSListNode[G5Node]):
|
|
Value: t.CInt
|
|
def __init__(self: G5Node) -> t.CInt: pass
|
|
|
|
GSLIST_SIZE: t.CDefine = 24 # Head(8) + Tail(8) + Count(8)
|
|
|
|
@t.NoVTable
|
|
class G5ListWrapper:
|
|
List: GSList[G5Node] | t.CPtr
|
|
def __init__(self: G5ListWrapper, pool: memhub.MemBuddy | t.CPtr) -> t.CInt: pass
|
|
|
|
def test_g5node_create() -> t.CInt: pass
|
|
|
|
def test_g5node_next() -> t.CInt: pass
|
|
|
|
def test_gslist_create() -> t.CInt: pass
|
|
|
|
def test_gslist_append() -> t.CInt: pass
|
|
|
|
def test_wrapper_list_field() -> t.CInt: pass
|
|
|
|
def main() -> t.CInt: pass
|