
     j
                     d   d dl Z ddlmZ ddlmZ i Z	 d dlmZ  ee           n# e$ r Y nw xY w ej	        dd          ed<   ded	<   d
ed<   ded<   ej
        j        D ]Ze                    d          reee<   [i Zd Zd Ze j        dk    re                     e                       dS dS )    N   )model)FFIError)_get_common_typesFILE_IO_FILE_Boolbool_cffi_float_complex_tzfloat _Complex_cffi_double_complex_tzdouble _Complex_tc                    	 t           |         S # t          $ r t                              ||          }t	          |t
                    s|d}}nt|t          j        j        v rt          j        |          d}}nJ|dk    rt          d|d          ||k    rt          d|d          | 
                    |          \  }}t	          |t          j                  sJ ||ft           |<   ||fcY S w xY w)Nr   set-unicode-neededzThe Windows type z3 is only available after you call ffi.set_unicode()zUnsupported type: z.  Please look at http://cffi.readthedocs.io/en/latest/cdef.html#ffi-cdef-limitations and file an issue if you think this type should really be supported.)_CACHEKeyErrorCOMMON_TYPESget
isinstancestrr   PrimitiveTypeALL_PRIMITIVE_TYPESr   parse_type_and_qualsBaseTypeByIdentity)parser
commontypecdeclresultqualss        dC:\Users\Terasoftware\OneDrive\Desktop\faahhh\fyndo\fyndo\venv\Lib\site-packages\cffi/commontypes.pyresolve_common_typer       s;   j!!     Z88%%% 	?!1EFFe)== 	?!/66EFF** 
	?(;E::H I I I U" 5h (2zz45 5 5
 #77>>MFE&%":;;;;;#U]zu})s    CC10C1c                      t          j        dg dt          j        d          t          j        d          t          j        t          j        d                    gg d          ddddddddddd	S )
N_UNICODE_STRING)LengthMaximumLengthBufferzunsigned shortwchar_t)r'   r'   zUNICODE_STRING *zconst UNICODE_STRING *r   )UNICODE_STRINGPUNICODE_STRINGPCUNICODE_STRINGTBYTETCHARLPCTSTRPCTSTRLPTSTRPTSTRPTBYTEPTCHAR)r   
StructTyper   PointerType     r   win_common_typesr7   9   s    *    !122 !122u29==>>@ LL  .4%%'&&%&&)
 
 
r6   win32)sys r   errorr   r   _cffi_backendr   ImportErrorunknown_typer   r   _typeendswithr   r    r7   platformupdater5   r6   r   <module>rC      sX   



             	//////l#### 	 	 	D	 *u)&*==V V !8 ":  4 $ $E~~d $#U		  <
 
 
0 <7 ,((**+++++, ,s   & ..