"""
Auto-generated Python stub file from lib.core.Handles.HandlesBase.py
Module: lib.core.Handles.HandlesBase
"""


import t, c
from stdint import *
import string
import viperlib
import memhub
import hashtable
import lib.core.Handles.HandlesTranslator as HT

class TypeKind(t.CEnum):
    Basic: t.State
    Pointer: t.State
    Struct: t.State
    Union: t.State
    Enum: t.State
    Typedef: t.State
    Function: t.State
    Array: t.State
    Void: t.State
@t.NoVTable
class TypeInfo:
    Kind: int
    Name: str
    Size: int
    Align: int
    IsSigned: int
    PtrCount: int
    IsConst: int
    IsVolatile: int
class TypeRegistry:
    _ht: hashtable.HashTable | t.CPtr
    __mbuddy__: memhub.MemManager | t.CPtr
    def Register(self: TypeRegistry, ti: TypeInfo | t.CPtr) -> int: pass
    def Lookup(self: TypeRegistry, name: str) -> TypeInfo | t.CPtr: pass
    def Has(self: TypeRegistry, name: str) -> int: pass

def NewTypeInfo(pool: memhub.MemManager | t.CPtr) -> TypeInfo | t.CPtr: pass

def NewTypeRegistry(pool: memhub.MemManager | t.CPtr) -> TypeRegistry | t.CPtr: pass

def TypeToLLVM(buf: t.CChar | t.CPtr, buf_size: t.CSizeT, ti: TypeInfo | t.CPtr) -> int: pass


@t.NoVTable
class Mixin:
    Trans: HT.Translator | t.CPtr
    def InitMixin(self: Mixin, trans: HT.Translator | t.CPtr) -> int: pass

_mbuddy: t.CExtern | t.CVoid | t.CPtr