§
    ¤”j   ã                   ó,   — d dl mZ  G d„ d¦  «        ZdS )é    )Úc_void_pc                   ó^   — e Zd ZdZdZeZdZeZ	e
d„ ¦   «         Zej        d„ ¦   «         Zd„ ZdS )ÚCPointerBasezz
    Base class for objects that have a pointer access property
    that controls access to the underlying C pointer.
    Nc                 ób   — | j         r| j         S |                      d| j        j        z  ¦  «        ‚)NzNULL %s pointer encountered.)Ú_ptrÚnull_ptr_exception_classÚ	__class__Ú__name__©Úselfs    úe/var/www/finuniver-perm.ru/html/portfolio/venv/lib/python3.11/site-packages/django/contrib/gis/ptr.pyÚptrzCPointerBase.ptr   s;   € ð Œ9ð 	Ø”9ÐØ×+Ò+Ø*¨T¬^Ô-DÑDñ
ô 
ð 	
ó    c                 ó€   — |�4t          || j        ¦  «        st          dt          |¦  «        z  ¦  «        ‚|| _        d S )NzIncompatible pointer type: %s.)Ú
isinstanceÚptr_typeÚ	TypeErrorÚtyper   )r   r   s     r   r   zCPointerBase.ptr   s>   € ð ��z¨#¨t¬}Ñ=Ô=�ÝÐ<½tÀC¹y¼yÑHÑIÔIÐIØˆŒ	ˆ	ˆ	r   c                 óœ   — | j         rB| j        r=	 |                       | j        ¦  «         dS # t          t          t
          f$ r Y dS w xY wdS dS )z9
        Free the memory used by the C++ object.
        N)Ú
destructorr   r   ÚAttributeErrorÚImportErrorr   r   s    r   Ú__del__zCPointerBase.__del__!   ss   € ð Œ?ð 	˜tœyð 	ðØ—’ ¤Ñ)Ô)Ð)Ð)Ð)øÝ"¥KµÐ;ð ð ð Ø��ðøøøð	ð 	ð 	ð 	s   �, ¬AÁA)r
   Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   Úpropertyr   Úsetterr   © r   r   r   r      sz   € € € € € ðð ð
 €DØ€HØ€JØ-Ðàð
ð 
ñ „Xð
ð 	„Zðð ñ „Zððð ð ð ð r   r   N)Úctypesr   r   r   r   r   ú<module>r!      sI   ðØ Ð Ð Ð Ð Ð ð%ð %ð %ð %ð %ñ %ô %ð %ð %ð %r   