"""
Auto-generated Python stub file from main.py
Module: main
"""

import c


import t
import stdio
import string
import testcheck
import linkedlist
import viperlib
import stdlib

class Node(linkedlist.LinkedNode):
    value: t.CInt

def test_append() -> t.CInt: pass

def test_prev_link() -> t.CInt: pass

def test_last_child() -> t.CInt: pass

def test_remove() -> t.CInt: pass

def test_remove_child() -> t.CInt: pass

def test_insert_ops() -> t.CInt: pass

def test_index_access() -> t.CInt: pass

def test_sibling_traverse() -> t.CInt: pass

def test_unlink() -> t.CInt: pass


class SNode(linkedlist.SListNode):
    value: t.CInt

def test_slist() -> t.CInt: pass

def test_sprintf_vararg() -> t.CInt: 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
class GNode(GSListNode[GNode]):
    Value: t.CInt

def test_generic_slist() -> t.CInt: pass

def main() -> t.CInt: pass
