Your IP : 18.224.51.49


Current Path : /opt/imunify360/venv/lib64/python3.11/site-packages/cffi/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/cffi/__pycache__/model.cpython-311.pyc

�

S�DgU��
�ddlZddlZddlmZddlmZmZmZdZdZ	dZ
d�ZGd�d	e��Z
Gd
�de
��ZGd�d
e��Ze��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��Zee��Zd�Zee��ZGd�d e��ZGd!�d"e��Zeed#��d��ZGd$�d%e
��ZGd&�d'e��Z Gd(�d)e ��Z!Gd*�d+e ��Z"Gd,�d-e��Z#d4d.�Z$d4d/�Z%e��Z&ej'��Z(d0�Z)d1�Z*d2�Z+d3�Z,dS)5�N�)�
allocate_lock)�	CDefError�VerificationError�VerificationMissing��c���|tzrd|���z}|tzrd|���z}|tzrd|���z}|S)Nz const z
 volatile z __restrict )�Q_CONST�lstrip�
Q_VOLATILE�
Q_RESTRICT)�quals�replace_withs  �l/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/cffi/model.py�qualifyrsr���w��9� �<�#6�#6�#8�#8�8���z��<�#�l�&9�&9�&;�&;�;���z��>�&��(;�(;�(=�(=�=����c�D�eZdZdZdZd
d�Zd�Zd�Zd�Zdd	�Z	d
�Z
d�ZdS)�BaseTypeByIdentityF��a C filerc�v�|j}|�d��dksJ�|���}|r.|�d��r
d|vrd|z}n|ddvrd|z}t	||��}|�d|��}d	|vr(t
d
|����d|�d����|S)
N�&r�*z&[z(%s)rz[(� �$zcannot generate 'z' in z: unknown type name)�c_name_with_marker�count�strip�
startswithr�replacer�_get_c_name)�selfr�contextr�results     r�
get_c_namezBaseTypeByIdentity.get_c_names����(���|�|�C� � �A�%�%�%�%�#�)�)�+�+���	2��&�&�s�+�+�
2�����%��4���!�!�_��,�,�"�\�1���u�l�3�3������\�2�2���&�=�=�#�#��#�#�%�%�%�%�w�w�w�0�1�1�
1��
rc�8�|j�dd��S)Nrr)rr!�r#s rr"zBaseTypeByIdentity._get_c_name/s���&�.�.�s�B�7�7�7rc�.�d|���vS)Nr�r"r(s r�
has_c_namezBaseTypeByIdentity.has_c_name2s���$�*�*�,�,�,�,rc��dS�NF�r(s r�is_integer_typez"BaseTypeByIdentity.is_integer_type5����urc��	|j|}nG#t$r:|�||��}|j�||��}||usJ�YnwxYw|S�N)�_cached_btypes�KeyError�build_backend_type�
setdefault)r#�ffi�
finishlist�	can_delay�BType�BType2s      r�get_cached_btypez#BaseTypeByIdentity.get_cached_btype8sv��	#��&�t�,�E�E���	#�	#�	#��+�+�C��<�<�E��'�2�2�4��?�?�F��U�?�?�?�?�?�?�	#�����s�
�AA�Ac�2�d|����d�S)N�<�>r*r(s r�__repr__zBaseTypeByIdentity.__repr__As����)�)�+�+�+�+�-�-rc�*���fd��jD��S)Nc�4��g|]}|t�|��f��Sr.)�getattr)�.0�namer#s  �r�
<listcomp>z1BaseTypeByIdentity._get_items.<locals>.<listcomp>Es(���E�E�E���w�t�T�*�*�+�E�E�Er)�_attrs_r(s`r�
_get_itemszBaseTypeByIdentity._get_itemsDs���E�E�E�E���E�E�E�ErN)rrr�F)�__name__�
__module__�__qualname__�
is_array_type�is_raw_functionr&r"r+r/r<r@rHr.rrrrs��������M��O�����$8�8�8�-�-�-��������.�.�.�F�F�F�F�Frrc� �eZdZd�Zd�Zd�ZdS)�BaseTypec�v�|j|jko)|���|���kSr2)�	__class__rH�r#�others  r�__eq__zBaseType.__eq__Js6����%�/�1�8����!�!�U�%5�%5�%7�%7�7�	9rc��||kSr2r.rSs  r�__ne__zBaseType.__ne__Ns���5�=� � rc�l�t|jt|�����f��Sr2)�hashrR�tuplerHr(s r�__hash__zBaseType.__hash__Qs)���T�^�U�4�?�?�+<�+<�%=�%=�>�?�?�?rN)rJrKrLrUrWr[r.rrrPrPHsF������9�9�9�!�!�!�@�@�@�@�@rrPc��eZdZdZd�Zd�ZdS)�VoidTyper.c��d|_dS)Nzvoid&)rr(s r�__init__zVoidType.__init__Xs��")����rc�$�t||d��S)N�
new_void_type��global_cache�r#r7r8s   rr5zVoidType.build_backend_type[s���D�#��7�7�7rN�rJrKrLrGr_r5r.rrr]r]Us7�������G�*�*�*�8�8�8�8�8rr]c��eZdZd�ZdS)�BasePrimitiveTypec��dSr-r.r(s r�is_complex_typez!BasePrimitiveType.is_complex_typebr0rN)rJrKrLrir.rrrgrgas#����������rrgc�t�eZdZdZidd�dd�dd�dd�dd�d	d�d
d�dd�dd�d
d�dd�dd�dd�dd�dd�dd�dd�idd�dd�dd�dd�dd�dd�dd�dd�dd�d d�d!d�d"d�d#d�d$d�d%d�d&d�d'd��id(d�d)d�d*d�d+d�d,d�d-d�d.d�d/d�d0d�d1d�d2d�d3d�d4d�d5d�d6d�d7d�d8d��Zd9�Zd:�Zd;�Zd<�Zd=�Z	d>�Z
d?S)@�
PrimitiveType�rE�char�c�short�i�int�longz	long longzsigned charz
unsigned charzunsigned short�unsigned int�
unsigned longzunsigned long long�float�f�doublezlong doublezfloat _Complex�jzdouble _Complex�_Bool�wchar_t�char16_t�char32_t�int8_t�uint8_t�int16_t�uint16_t�int32_t�uint32_t�int64_t�uint64_t�int_least8_t�
uint_least8_t�
int_least16_t�uint_least16_t�
int_least32_t�uint_least32_t�
int_least64_t�uint_least64_t�int_fast8_t�uint_fast8_t�int_fast16_t�
uint_fast16_t�int_fast32_t�
uint_fast32_t�int_fast64_t�
uint_fast64_t�intptr_t�	uintptr_t�intmax_t�	uintmax_t�	ptrdiff_t�size_t�ssize_tc�>�||jvsJ�||_|dz|_dS�Nr)�ALL_PRIMITIVE_TYPESrEr�r#rEs  rr_zPrimitiveType.__init__�s/���t�/�/�/�/�/���	�"&��*����rc�.�|j|jdkS)Nrn�r�rEr(s r�is_char_typezPrimitiveType.is_char_type�����'��	�2�c�9�9rc�.�|j|jdkS)Nrpr�r(s rr/zPrimitiveType.is_integer_type�r�rc�.�|j|jdkS)Nrvr�r(s r�
is_float_typezPrimitiveType.is_float_type�r�rc�.�|j|jdkS)Nrxr�r(s rrizPrimitiveType.is_complex_type�r�rc�0�t||d|j��S)N�new_primitive_type)rcrErds   rr5z PrimitiveType.build_backend_type�s���D�#�';�T�Y�G�G�GrN)rJrKrLrGr�r_r�r/r�rir5r.rrrkrkfs�������G�5
��c�5
��c�5
�	�c�5
�	�c�	5
�
	�c�5
�	�c�
5
�	�c�5
�	�c�5
�	�c�5
�	�c�5
�	�c�5
�	�c�5
�	�c�5
�	�c�5
�	�c�5
� 	�c�!5
�"	�c�#5
�5
�&	�c�'5
�(	�c�)5
�*	�c�+5
�,	�c�-5
�.	�c�/5
�0	�c�15
�2	�c�35
�4	�c�55
�6	�c�75
�8	�c�95
�:	�c�;5
�<	�c�=5
�>	�c�?5
�@	�c�A5
�B	�c�C5
�D	�c�E5
�F	�c�G5
�5
�5
�H	�c�I5
�J	�c�K5
�L	�c�M5
�N	�c�O5
�P	�c�Q5
�R	�c�S5
�T	�c�U5
�V	�c�W5
�X	�c�Y5
�Z	�c�[5
�\	�c�]5
�^	�c�_5
�`	�c�a5
�b	�c�c5
�d	�c�e5
�f	�c�g5
�h	�c�i5
�5
��n-�-�-�
:�:�:�:�:�:�:�:�:�:�:�:�H�H�H�H�Hrrkc�$�eZdZdZd�Zd�Zd�ZdS)�UnknownIntegerTyperlc�(�||_|dz|_dSr��rErr�s  rr_zUnknownIntegerType.__init__������	�"&��*����rc��dS)NTr.r(s rr/z"UnknownIntegerType.is_integer_type�s���trc�0�td|jz���)Nz4integer type '%s' can only be used after compilation��NotImplementedErrorrErds   rr5z%UnknownIntegerType.build_backend_type��#��!�#0�26�)�#<�=�=�	=rN)rJrKrLrGr_r/r5r.rrr�r��sF�������G�-�-�-����=�=�=�=�=rr�c��eZdZdZd�Zd�ZdS)�UnknownFloatTyperlc�(�||_|dz|_dSr�r�r�s  rr_zUnknownFloatType.__init__�r�rc�0�td|jz���)Nz2float type '%s' can only be used after compilationr�rds   rr5z#UnknownFloatType.build_backend_type�r�rNrer.rrr�r��s7�������G�-�-�-�=�=�=�=�=rr�c��eZdZdZdd�ZdS)�BaseFunctionType)�argsr%�ellipsis�abiNc�b�||_||_||_||_d�|jD��}|jr|�d��|pdg}|jd�|��fz}|�|dd�|zdz|dd�z}|jj�d|��|_dS)Nc�6�g|]}|�����Sr.r*)rD�args  rrFz-BaseFunctionType.__init__.<locals>.<listcomp>�s"��;�;�;�#�C�O�O�%�%�;�;�;r�...�voidz, rrr)	r�r%r�r��append�
_base_pattern�joinrr!)r#r�r%r�r��reprargsrs       rr_zBaseFunctionType.__init__�s�����	���� ��
����;�;���;�;�;���=�	#��O�O�E�"�"�"��'��x���)�T�Y�Y�x�-@�-@�,B�B���?�'����+�c�1�C�7�,�q�r�r�:J�J�L��K�*�2�2�3��E�E�	
���rr2�rJrKrLrGr_r.rrr�r��s3������3�G�G�G�G�G�G�Grr�c�"�eZdZdZdZd�Zd�ZdS)�RawFunctionTypez(&)(%s)Tc�(�td|�d����)N�cannot render the type z7: it is a function type, not a pointer-to-function type)rrds   rr5z"RawFunctionType.build_backend_type�s&���i�BF�$�$�I�J�J�	Jrc�N�t|j|j|j|j��Sr2)�FunctionPtrTyper�r%r�r�r(s r�as_function_pointerz#RawFunctionType.as_function_pointer�����t�y�$�+�t�}�d�h�O�O�OrN)rJrKrLr�rNr5r�r.rrr�r��sF�������M��O�J�J�J�P�P�P�P�Prr�c��eZdZdZd�Zd�ZdS)r�z(*&)(%s)c�P�|j�||��}g}|jD]+}|�|�||�����,d}|jdkr&|js	|jjf}n#t$rYnwxYwt||dt|��||jg|�R�S)Nr.�	__stdcall�new_function_type)r%r<r�r�r�r��_backend�FFI_STDCALL�AttributeErrorrcrZ)r#r7r8r%r��tp�abi_argss       rr5z"FunctionPtrType.build_backend_type�s�����-�-�c�:�>�>�����)�	>�	>�B��K�K��+�+�C��<�<�=�=�=�=����8�{�"�"��=�
�� #�� 8�:�H�H��%�����D������D�#�':�!�$�K�K����K�AI�K�K�K�	Ks�&
A4�4
B�Bc�N�t|j|j|j|j��Sr2)r�r�r%r�r�r(s r�as_raw_functionzFunctionPtrType.as_raw_functionr�rN)rJrKrLr�r5r�r.rrr�r��s?�������M�
K�
K�
K�P�P�P�P�Prr�c� �eZdZdZdd�Zd�ZdS)�PointerType)�totyperrc��||_||_t|d��}|jrd|����d�}|j�d|��|_dS)Nz *&�(�)r)r�rrrMrrr!)r#r�r�extras    rr_zPointerType.__init__sd�������
���u�%�%����	/�	/�#�l�l�n�n�n�n�.�E�"(�";�"C�"C�C��"O�"O����rc�`�|j�||d���}t||d|��S)NT)r9�new_pointer_type)r�r<rc)r#r7r8�BItems    rr5zPointerType.build_backend_types3����,�,�S�*��,�M�M���D�#�'9�5�A�A�ArN�rrer.rrr�r�sE������!�G�P�P�P�P�B�B�B�B�Brr�c�,�t|t��Sr2)r�r)r�s r�ConstPointerTyper�s���v�w�'�'�'rc��eZdZdZdd�ZdS)�NamedPointerType)r�rErc�`�t�|||��||_|dz|_dSr�)r�r_rEr)r#r�rErs    rr_zNamedPointerType.__init__s3�����T�6�5�1�1�1���	�"&��*����rNr�r�r.rrr�r�s-������ �G�-�-�-�-�-�-rr�c�.�eZdZdZdZd�Zd�Zd�Zd�ZdS)�	ArrayType)�item�lengthTc��||_||_|�d}n|dkrd}nd|z}|jj�d|��|_dS)Nz&[]r�z
&[/*...*/]z&[%s]r)r�r�rr!)r#r�r��bracketss    rr_zArrayType.__init__)s\����	�����>��H�H�
�u�_�_�#�H�H���'�H��I�(�0�0��h�?�?�	
���rc�6�t|jt��Sr2)�
isinstancer��strr(s r�length_is_unknownzArrayType.length_is_unknown6s���$�+�s�+�+�+rc�,�t|j|��Sr2)r�r�)r#�	newlengths  r�resolve_lengthzArrayType.resolve_length9s�����I�.�.�.rc��|���rtd|�d����|j�||��t	|j���||��}t||d||j��S)Nr�z: unknown length�new_array_type)r�rr�r<r�rcr�)r#r7r8�BPtrItems    rr5zArrayType.build_backend_type<s����!�!�#�#�	%��)�!�T�T�$�%�%�
%��	�"�"�3�
�3�3�3��t�y�)�)�:�:�3�
�K�K���D�#�'7��4�;�O�O�OrN)	rJrKrLrGrMr_r�r�r5r.rrr�r�%sb������ �G��M�A�A�A�,�,�,�/�/�/�P�P�P�P�Prr�rmc�(�eZdZdZdZd�Zd�Zd�ZdS)�StructOrUnionOrEnumrlNc�J�|jp|j�d|j��}|dz|_dS)Nrr)�	forcename�kindrErr�s  r�build_c_name_with_markerz,StructOrUnionOrEnum.build_c_name_with_markerKs/���~�A�D�I�I�I�t�y�y�!A��"&��*����rc�<�||_|���dSr2)r�r�)r#r�s  r�force_the_namez"StructOrUnionOrEnum.force_the_nameOs!��"����%�%�'�'�'�'�'rc�X�|j�d��sJ�|jdd�S)Nr���)r�endswithr(s r�get_official_namez%StructOrUnionOrEnum.get_official_nameSs1���&�/�/��4�4�4�4�4��&�s��s�+�+r)rJrKrLrGr�r�rrr.rrr�r�GsK�������G��I�-�-�-�(�(�(�,�,�,�,�,rr�c�Z�eZdZdZdZdZdZdd�Zd�Zdd�Z	d�Z
dd	�Zd
�Zd�Z
d�Zd
�ZdS)�
StructOrUnionNrFc�t�||_||_||_||_||_|���dSr2)rE�fldnames�fldtypes�
fldbitsize�fldqualsr�)r#rEr	r
rrs      rr_zStructOrUnion.__init__^s=����	� ��
� ��
�$��� ��
��%�%�'�'�'�'�'rc#�K�|j�?t|j|j��D]&\}}|dkrt|t��r|V��%dSdS)Nr)r
�zipr	r�r)r#rE�types   r�anonymous_struct_fieldsz%StructOrUnion.anonymous_struct_fieldsfsb�����=�$�!�$�-���?�?�
�
�
��d��2�:�:�*�T�=�"A�"A�:��J�J�J��%�$�
�
rTc#�K�|j}|�dt|j��z}t|j|j|j|��D]H\}}}}|dkr3t
|t��r|r|���D]}|V���@||||fV��IdS)Nr�r)	r�lenr	rr
rr�r�
enumfields)r#�expand_anonymous_struct_unionrrEr�bitsizerr%s        rrzStructOrUnion.enumfieldsls������=�����c�$�-�0�0�0�H�*-�d�m�T�]�.2�o�x�+I�+I�	3�	3�&�D�$�����
�
�z�$�
�>�>�
�5��#�o�o�/�/�!�!�F� �L�L�L�L�!��T�7�E�2�2�2�2�2�	3�	3rc��g}g}g}g}|���D]V\}}}}|�|��|j|��|�|��|�|���Wt|��|_t|��|_t|��|_t|��|_dSr2)rr�rZr	r
rr)	r#�names�types�bitsizesrrErrrs	         r�
force_flattenzStructOrUnion.force_flattenzs�����������*.�/�/�*;�*;�	#�	#�&�D�$����L�L������E�L������O�O�G�$�$�$��O�O�E�"�"�"�"��e����
��e����
���/�/����h����
�
�
rc�p�t�||||��}|s|�||��|Sr2)r�r<�finish_backend_type)r#r7r8r9r:s     rr<zStructOrUnion.get_cached_btype�sE��#�4�4�T�3�
�5>�@�@���	6��$�$�S�*�5�5�5��rc����|jr%|jdkrtd|j�d����dS�j|}d|_|j��n�|j�u��fd�|jD��}t
t|j||j	����}d}|j
r|j
dkrd}n	d|j
f}�jj|||d	d	g|�R��ng}|j\}}}	}
tt|j����D�]�}||}|j|}
t|
t ��r�|
���r�|
j�����}t)|��|����\}}|dkr.|�d
|j�d|j|pd�d
���|
�|��}
|jd|�|
fz|j|dzd�z|_|
�����}t|
t ��r|
j�	|dksJ�nI��|��}||kr.|�d|j|j|pd||fz��|�|�����t
t|j||j	|����}�j�||||	|
��d|_dS)Nrz%recursive structure declaration for '�'rc�<��g|]}|�������Sr.)r<)rDr�r7r8s  ��rrFz5StructOrUnion.finish_backend_type.<locals>.<listcomp>�s9���1�1�1���+�+�C��<�<�1�1�1rr.)�rrzfield '�.z{}z' has a bogus size?z=field '%s.%s' is declared as %d bytes, but is really %d bytes)�	completedr�rEr3r
�fixedlayout�listrr	r�packedr��complete_struct_or_union�rangerr�r�r�r�r<�divmod�sizeof�_verification_errorr�r�r�)r#r7r8r:r
�lst�extra_flags�fieldofs�	fieldsize�	totalsize�totalalignmentrp�fsize�ftype�	BItemType�nlen�nrest�
BFieldType�	bitemsizes ``                rrz!StructOrUnion.finish_backend_type�sh�����>�	��~��"�"�)�)�8<�	�	�	�+D�E�E�E��F��"�4�(������=� ��
�
�
%�1�1�1�1�1�"&�-�1�1�1�H��s�4�=�(�D�O�D�D�E�E�C��K��{�
3��;�!�#�#�"&�K�K�#$�d�k�"2�K�1�C�L�1�%��d�24�b�
H�;F�
H�
H�
H�
H�
H��H�=A�=M�:�H�i��N��3�t�}�-�-�.�.�
,�
,��!�!����
�a�(���e�Y�/�/�
:�E�4K�4K�4M�4M�
:� %�
� ;� ;�C�� L� L�I�"(���
�
�9�0E�0E�"F�"F�K�D�%���z�z��0�0�0� �I�I�I�t�}�Q�'7�'?�4�'?�'?�A�B�B�B�"�0�0��6�6�E�%)�]�2�A�2�%6�%��%A�%)�]�1�Q�3�4�4�%8�&9�D�M�#�3�3�C��D�D�
��e�Y�/�/�	D�E�L�4H� �A�:�:�:�:�:� #�
�
�:� 6� 6�I� �E�)�)��0�0�.�15��15��q�1A�1I�T�1:�E�1C�C�D�D�D�
���
�+�+�+�+��s�4�=�(�D�O�X�N�N�O�O�C��L�1�1�%��d�2;�^�
M�
M�
M�����rc� �t|���r2)r)r#�msgs  rr*z!StructOrUnion._verification_error�s����$�$�$rc�h�|jr(|j�#t|������dSdSr2)�partialr#rr"r(s r�check_not_partialzStructOrUnion.check_not_partial�s>���<�	:�D�,�4�%�d�&6�&6�&8�&8�9�9�9�	:�	:�4�4rc��|���|�|��t||d|jz|���|���S)Nznew_%s_type��key)r<r�rcr�rrds   rr5z StructOrUnion.build_backend_type�sa����� � � ����$�����D�#�}�t�y�'@� �2�2�4�4�$�@�@�@�	@rr2)TrI)rJrKrLr#r"r;r%r_rrrr<rr*r<r5r.rrrrXs��������K��I��G�
�F�(�(�(�(����3�3�3�3�(�(�(�$����=�=�=�~%�%�%�:�:�:�@�@�@�@�@rrc��eZdZdZdS)�
StructType�structN�rJrKrLr�r.rrrArA�s�������D�D�DrrAc��eZdZdZdS)�	UnionType�unionNrCr.rrrErE�s�������D�D�DrrEc�:�eZdZdZdZdZd	d�Zd�Zd�Zd�Z	d�Z
dS)
�EnumType�enumFNc�f�||_||_||_||_|���dSr2)rE�enumerators�
enumvalues�baseinttyper�)r#rErKrLrMs     rr_zEnumType.__init__�s8����	�&���$���&����%�%�'�'�'�'�'rc��t�||��|j�4|���}d|�dd��z|_dSdS)Nrr�_)r�rr�rr!)r#r�rEs   rrzEnumType.force_the_name�sW���*�*�4��;�;�;��>�!��)�)�+�+�D� �4�<�<��S�#9�#9�9�D�N�N�N�"�!rc�h�|jr(|js#t|������dSdSr2)r;�partial_resolvedrr"r(s rr<zEnumType.check_not_partial�sD���<�	:�� 5�	:�%�d�&6�&6�&8�&8�9�9�9�	:�	:�	:�	:rc
��|���|�||��}t||d|���|j|j||���S)N�
new_enum_typer>)r<�build_baseinttypercrrKrL)r#r7r8�
base_btypes    rr5zEnumType.build_backend_type�sd����� � � ��+�+�C��<�<�
��D�#�� �2�2�4�4� �,�d�o�&�D�2�2�2�	2rc�b�|j�|j�||��S|jr)t|j��}t	|j��}n]ddl}	t���n#t$rYnwxYw|�	d|�
��z��dx}}|dkr!d}td��}td��}n d}td��}td��}|�||��}	|�||��}
|�|	��}|�|
��}|dd	|zdz
zkr|dd	|z|z
zkr|	S|dd	|zdz
zkr|dd	|z|z
zkr|
Std
|�
��z���)NrzU%r has no values explicitly defined; guessing that it is equivalent to 'unsigned int'rrqrrrsrtrr z=%s values don't all fit into either 'long' or 'unsigned long')rMr<rL�min�max�warnings�__warningregistry__�clear�	NameError�warnr"rkr)r)
r#r7r8�smallest_value�
largest_valuerY�sign�
candidate1�
candidate2�btype1�btype2�size1�size2s
             rrTzEnumType.build_baseinttypes�����'��#�4�4�S�*�E�E�E��?�	/� ���1�1�N����0�0�M�M��O�O�O�
�$�)�)�+�+�+�+���
�
�
���
�����M�M�M� �,�,�.�.�/�
0�
0�
0�./�.�N�]��A����D�&�u�-�-�J�&�v�.�.�J�J��D�&�~�6�6�J�&��7�7�J��,�,�S�*�=�=���,�,�S�*�=�=���
�
�6�"�"���
�
�6�"�"�����%���	�2�3�3��Q�1�U�7�4�<�0�1�1��M����%���	�2�3�3��Q�1�U�7�4�<�0�1�1��M��-�/3�/?�/?�/A�/A�B�C�C�	Cs�A2�2
A?�>A?r2)rJrKrLr�r;rQr_rr<r5rTr.rrrHrH�sy�������D��G���(�(�(�(�:�:�:�:�:�:�2�2�2�'C�'C�'C�'C�'CrrHc�p�|�d|z}t|ddd��}|�|��d|_|S)Nz$%s�unknown_type)rAr�origin�rE�
structnamer�s   rrhrh0sD�����T�\�
�	�J��d�D�	1�	1�B����d�����B�I�
�Irc�T�|�d|z}t|ddd��}t||��S)Nz$$%s)rAr�rjs   r�unknown_ptr_typerm8s4�����d�]�
�	�J��d�D�	1�	1�B��B��%�%�%rc�2�t|tj��rtSt5tt
|��d��s%tj��t
|��_	t
|��j	cddd��S#1swxYwYdS)N�__typecache)
r�r�
ModuleType�_typecache_cffi_backend�global_lock�hasattrr�weakref�WeakValueDictionaryro)�backends r�
get_typecacherwBs����'�5�+�,�,�'�&�&�	�)�)��t�G�}�}�m�4�4�	F�(/�(C�(E�(E�D��M�M�%��G�}�}�(�)�)�)�)�)�)�)�)�)�)�)�)����)�)�)�)�)�)s�AB�B�Bc��|�d||f��}|rJ�	|j|S#t$rYnwxYw	t|j|��|�}n)#t
$r}t|�d|�d|�����d}~wwxYw|j}t5|�|��}	|	�|||<|cddd��S|	cddd��S#1swxYwYdS)Nr?�: )�pop�
_typecacher4rCr�r�rr�get)
�srctyper7�funcnamer��kwdsr?�res�e�cache�res1s
          rrcrcMsw��
�(�(�5�8�T�*�
+�
+�C��O�O�8�
��~�c�"�"���
�
�
���
����I�-�g�c�l�H�-�-�t�4�����I�I�I�!�(�(�(�G�G�G�Q�Q�"G�H�H�H�����I����

�N�E�	����y�y��~�~���<��E�#�J��	���������
��������������������s;�+�
8�8�A�
A;�A6�6A;�C�7C�C	�C	c�&�td|d|��S)N�?r�rb)r7r:s  r�
pointer_cacher�ds����S�"4�e�<�<�<rc��|jrKt|jd��tur,|�d|jd��f|jdd�z|_dSdSdS)Nrryr)r�rr�)r�rEs  r�attach_exception_infor�gs`���v�>�$�q�v�a�y�/�/�S�(�(�"�d�d�A�F�1�I�I�.�0�1�6�!�"�"�:�=�����>�>�(�(rr2)-rrt�lockr�errorrrrrrr
r�objectrrPr]�	void_typergrkr�r�r�r�r�r��
voidp_typer��const_voidp_typer�r��char_array_typer�rrArErHrhrmrrrurqrwrcr�r�r.rr�<module>r�s�����������������D�D�D�D�D�D�D�D�D�D���
�
�
�
�
�
�
�,F�,F�,F�,F�,F��,F�,F�,F�^
@�
@�
@�
@�
@�!�
@�
@�
@�8�8�8�8�8�x�8�8�8�
�H�J�J�	����������
IH�IH�IH�IH�IH�%�IH�IH�IH�X=�=�=�=�=�*�=�=�=�	=�	=�	=�	=�	=�(�	=�	=�	=�G�G�G�G�G�x�G�G�G�(P�P�P�P�P�&�P�P�P�P�P�P�P�P�&�P�P�P�,
B�
B�
B�
B�
B�(�
B�
B�
B��[��
#�
#�
�(�(�(�$�#�I�.�.��-�-�-�-�-�{�-�-�-�P�P�P�P�P��P�P�P�>�)�M�M�&�1�1�4�8�8��,�,�,�,�,�,�,�,�,�"F@�F@�F@�F@�F@�'�F@�F@�F@�R��������������
����EC�EC�EC�EC�EC�"�EC�EC�EC�N����&�&�&�&��m�o�o��5�'�5�7�7��	)�	)�	)����.=�=�=�>�>�>�>�>r

?>