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


import t, c
from stdint import *
from w32.win32process import TlsAlloc, TlsGetValue, TlsSetValue
import stdlib
import stdio
import string

_MAX_PROVIDER_DEPTH: t.CDefine = 32

@t.Object
class _ProviderStack:
    names: t.CArray[VOIDPTR, 32]
    ptrs: t.CArray[VOIDPTR, 32]
    top: UINT64

_tls_index: t.CExtern | ULONG

@t.TLS
def _init_tls() -> t.CInt: pass

def _get_stack() -> _ProviderStack | t.CPtr: pass

def _push_provider(field_name: str, ptr: t.CPtr) -> t.CInt: pass

def _pop_provider() -> t.CInt: pass

def _find_provider(field_name: str) -> t.CPtr: pass
