File: //usr/share/glib-2.0/codegen/__pycache__/codegen.cpython-38.pyc
U
�u_i � @ s� d dl Z ddlmZ ddlmZ ddlmZ ddlmZ dZdd � Zd
d� ZG dd
� d
�Z G dd� d�Z
G dd� d�ZG dd� d�ZdS )� N� )�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 )Nr �_� )�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'