<s> from __future__ import unicode_literals , division , absolute_import , print_function <EOL> import sys <EOL> from . . _ffi import LibraryNotFoundError , FFIEngineError , register_ffi <EOL> from . . _types import str_cls <EOL> try : <EOL> import cffi <EOL> except ( ImportError ) : <EOL> raise FFIEngineError ( '<STR_LIT>' ) <EOL> __all__ = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> ffi = cffi . FFI ( ) <EOL> if cffi . __version_info__ >= ( <NUM_LIT:0> , <NUM_LIT:9> ) : <EOL> ffi . set_unicode ( True ) <EOL> if sys . maxsize > <NUM_LIT:2> ** <NUM_LIT:32> : <EOL> ffi . cdef ( "<STR_LIT>" ) <EOL> else : <EOL> ffi . cdef ( "<STR_LIT>" ) <EOL> ffi . cdef ( """<STR_LIT>""" ) <EOL> try : <EOL> crypt32 = ffi . dlopen ( '<STR_LIT>' ) <EOL> register_ffi ( crypt32 , ffi ) <EOL> except ( OSError ) as e : <EOL> if str_cls ( e ) . find ( '<STR_LIT>' ) != - <NUM_LIT:1> : <EOL> raise LibraryNotFoundError ( '<STR_LIT>' ) <EOL> raise <EOL> def get_error ( ) : <EOL> return ffi . getwinerror ( ) </s>
