ok
Direktori : /opt/alt/python38/lib64/python3.8/site-packages/cffi/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/site-packages/cffi/__pycache__/model.cpython-38.pyc |
U ل=^�T � @ s� d dl Z d dlZddlmZ ddlmZmZmZ dZdZ dZ dd� ZG d d � d e�Z G dd� de �ZG d d� de�Ze� ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Zee�Zdd � Zee�ZG d!d"� d"e�ZG d#d$� d$e�Zeed%�d�ZG d&d'� d'e �ZG d(d)� d)e�Z G d*d+� d+e �Z!G d,d-� d-e �Z"G d.d/� d/e�Z#d<d0d1�Z$d=d2d3�Z%e� Z&e�'� Z(d4d5� Z)d6d7� Z*d8d9� Z+d:d;� Z,dS )>� N� )� allocate_lock)� CDefError�VerificationError�VerificationMissing� � c C s@ | t @ rd|�� }| t@ r(d|�� }| t@ r<d|�� }|S )Nz const z volatile z __restrict )�Q_CONST�lstrip� Q_VOLATILE� Q_RESTRICT)�quals�replace_with� r � /model.py�qualify s r c @ sP e Zd ZdZdZddd�Zdd� Zd d � Zdd� Zdd d�Z dd� Z dd� ZdS )�BaseTypeByIdentityF� �a C filer c C s� | j }|�d�dkst�|�� }|rT|�d�r@d|kr@d| }n|d dkrTd| }t||�}|�d|�}d |kr�td | �� |f ��|S )N�&r �*z&[�(%s)r z[(� �$z-cannot generate '%s' in %s: unknown type name) �c_name_with_marker�count�AssertionError�strip� startswithr �replacer �_get_c_name)�selfr �contextr �resultr r r � get_c_name s"