o
    eB  ã                   @   sò   d Z ddlZddlZddlZzddlmZ ejZW n ey$   dZY nw edkr-e	dƒ‚edkr3dndZ
e d	e
¡atdkrAdad
ejv rQtdkrQe d¡ daz
ddlmZ dZW n eyf   dZY nw dd„ Zdd„ Zdd„ Zdd„ ZdS )zLDetermine which implementation of the protobuf API is used in this process.
é    N)Ú_api_implementationéÿÿÿÿé   z%api_version=1 is no longer supported.ÚcppÚpythonZ&PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATIONÚPyPyz\PyPy does not work yet with cpp protocol buffers. Falling back to the python implementation.)Ú(enable_deterministic_proto_serializationTFc                   C   ó   t S ©N©Ú_implementation_type© r   r   ú[D:\Projects\ConvertPro\env\Lib\site-packages\google/protobuf/internal/api_implementation.pyÚType_   ó   r   c                 C   s   | a dS )z'Never use! Only for protobuf benchmark.Nr   )Zimplementation_typer   r   r   Ú_SetTypec   s   r   c                   C   s   dS )Né   r   r   r   r   r   ÚVersionj   r   r   c                   C   r	   r
   )Ú)_python_deterministic_proto_serializationr   r   r   r   Ú)IsPythonDefaultSerializationDeterministico   r   r   )Ú__doc__ÚosÚsysÚwarningsZgoogle.protobuf.internalr   Úapi_versionZ_api_versionÚImportErrorÚ
ValueErrorZ_default_implementation_typeÚgetenvr   ÚversionÚwarnZgoogle.protobufr   r   r   r   r   r   r   r   r   r   Ú<module>   s>   
ÿÿ
ÿ