
    af
                        d dl Z d dlmZ  e            Ze                    d           de j        v re j        d         dv rdZndZ ee j        	                    e j        
                    e          d                    5 Ze                                Ze                    d	eg g d
e           ddd           n# 1 swxY w Y    G d d          Zedk    re                                 dS dS )    N)FFIa1  
    void* nvx_utf8vld_new ();

    void nvx_utf8vld_reset (void* utf8vld);

    int nvx_utf8vld_validate (void* utf8vld, const uint8_t* data, size_t length);

    void nvx_utf8vld_free (void* utf8vld);

    int nvx_utf8vld_set_impl(void* utf8vld, int impl);

    int nvx_utf8vld_get_impl(void* utf8vld);
AUTOBAHN_USE_NVX)1trueFTz_utf8validator.c_nvx_utf8validator)z-std=c99z-Wallz-Wno-strict-prototypesz-O3z-march=native)	librariesextra_compile_argsoptionalc                   $    e Zd ZdZd Zd Zd ZdS )Utf8Validatorz
    :noindex:
    c                     t           | _         ddlm} || _        | j                             | j                                        | j        j                  | _        d S )Nr   )lib)ffir   r   gcnvx_utf8vld_newnvx_utf8vld_free_vld)selfr   s     M/var/www/html/env/lib/python3.11/site-packages/autobahn/nvx/_utf8validator.py__init__zUtf8Validator.__init__D   sP    ******HKK 8 8 : :DH<UVV			    c                 D    | j                             | j                   d S )N)r   nvx_utf8vld_resetr   )r   s    r   resetzUtf8Validator.resetM   s     ""49-----r   c                 z    | j                             | j        |t          |                    }|dk    |dk    d d fS )Nr   )r   nvx_utf8vld_validater   len)r   baress      r   validatezUtf8Validator.validateP   s:    h++DIr3r77CCq#(D$//r   N)__name__
__module____qualname____doc__r   r   r     r   r   r   r   ?   sN         W W W. . .0 0 0 0 0r   r   __main__)oscffir   r   cdefenvironr
   openpathjoindirname__file__fdreadc_source
set_sourcer   r!   compiler%   r   r   <module>r5      s  6 
			       
cee  
    ##
3E(F-(W(WHHH	T"',,rwx002D
E
EFF "wwyyHNNbbb                  0 0 0 0 0 0 0 0, zKKMMMMM s   1C  CC