ok
Direktori : /opt/imunify360/venv/lib/python3.11/site-packages/cffi/__pycache__/ |
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/cffi/__pycache__/api.cpython-311.pyc |
� l��fP� � �� � d dl Z d dlZddlmZ ddlmZ ddlmZ e n# e $ r d dl mZ d� ZY nw xY w e n # e $ r e ZY nw xY w e� � Z G d� d e� � Zd � Zd� Zd� ZdS ) � N� )� allocate_lock)� CDefError)�model)�Callablec �, � t | t � � S �N)� isinstancer )�xs �j/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib64/python3.11/site-packages/cffi/api.py�<lambda>r s � ��A�x�0�0� � c �x � e Zd ZdZd;d�Zd<d�Zd=d�Zd>d�Zd?d �Zd � Z d� Z d>d�Zd � Zd� Z d� Zd� Zd;d�Z d@d�Zd� ZdAd�Zd� Zedfd�Zd� ZdBd�ZdCd�Zd?d�Zd� ZdDd�Zd � Zd!� Z eeedd"� � Z dAd#�Z!d$� Z"d%� Z#d&� Z$d'� Z%d(� Z&d)� Z'd*� Z(d+� Z)d,� Z*d-� Z+dEd/�Z, dEd0�Z-dFd2�Z.d3� Z/d4� Z0dGd6�Z1d7� Z2d8� Z3d9� Z4d:� Z5dS )H�FFIa� The main top-level class that you instantiate once, or once per module. Example usage: ffi = FFI() ffi.cdef(""" int printf(const char *, ...); """) C = ffi.dlopen(None) # standard library -or- C = ffi.verify() # use a C compiler: verify the decl above is right C.printf("hello, %s!\n", ffi.new("char[]", "world")) Nc �� � |�sddl }ddlm} |j |k r^t |d� � r+t d|�dt �d|j �d|j �d � � � �t d|�dt �d |j �d �� � �ddlm} || _ t � � | _ |� � � | _ i | _ t j d� � j | _ t j d � � j | _ g | _ g | _ g | _ g | _ d| _ i | _ d| _ d| _ t5 j |� � | _ t |d� � r|� | � � t= |j � � D ]6}|� d� � rtA | |tC ||� � � � �7| j 5 | �"