Repository URL to install this package:
|
Version:
1.0.2-20151008 ▾
|
Ñò
pì©Uc @ sñ d d k Z d d k Z d d k Z d d k Z d a d Z d Z e i d Z e i d Z
e i d Z d Z d Z
e i d Z d
Z e i d Z d Z d
Z d Z d Z d Z d Z d Z d S( iÿÿÿÿNc C sW t d j o@ t i i d d i d a d t j o t i d qM n | t j S( s( Check for whether a specific debugging feature is enabled.
Well-known flags:
* start: Drop into debugger just after processing arguments
* exception: Drop into debugger on fatalexception
* warning: Drop into debugger on warning
* posttrans: Drop into debugger just before introspectable pass
t GI_SCANNER_DEBUGt t ,N( t _debugflagst Nonet ost environt gett splitt remove( t flag( ( sZ /home/zelgadis/synfig-buildroot/linux64/build/lib/gobject-introspection/giscanner/utils.pyt have_debug_flag s
c C s+ t | o d d k } | i n d S( Niÿÿÿÿ( R t pdbt set_trace( R
R ( ( sZ /home/zelgadis/synfig-buildroot/linux64/build/lib/gobject-introspection/giscanner/utils.pyt break_on_debug_flag. s
s ([^A-Z])([A-Z])s ([A-Z][A-Z])([A-Z][0-9a-z])s ^([A-Z])([A-Z])c C s@ t i d | } t i d | } t i d | d d } | S( sJ Converts a typename to the equivalent underscores name.
This is used to form the type conversion macros and enum/flag
name variables.
In particular, and differently from to_underscores_noprefix(),
this function treats the first character differently if it is
uppercase and followed by another uppercase letter.s \1_\2t counti ( t _upperstr_pat1t subt _upperstr_pat2t _upperstr_pat3( t name( ( sZ /home/zelgadis/synfig-buildroot/linux64/build/lib/gobject-introspection/giscanner/utils.pyt to_underscores9 s c C s( t i d | } t i d | } | S( ss Like to_underscores, but designed for "unprefixed" names.
to_underscores("DBusFoo") => dbus_foo, not d_bus_foo.s \1_\2( R R R ( R ( ( sZ /home/zelgadis/synfig-buildroot/linux64/build/lib/gobject-introspection/giscanner/utils.pyt to_underscores_noprefixF s s dlname='([A-z0-9\.\-\+]+)'
c C sO t | } | i } | i t i | } | o | i d Sd Sd S( Ni ( t opent readt closet _libtool_patt searcht groupsR ( t la_filet ft datat m( ( sZ /home/zelgadis/synfig-buildroot/linux64/build/lib/gobject-introspection/giscanner/utils.pyt _extract_dlname_fieldQ s
s libdir='([^']+)'c C sO t | } | i } | i t i | } | o | i d Sd Sd S( Ni ( R R R t _libtool_libdir_patR R R ( R R R R ( ( sZ /home/zelgadis/synfig-buildroot/linux64/build/lib/gobject-introspection/giscanner/utils.pyt _extract_libdir_field_ s
c C s~ t | } | d j o d St i d j o= t i i | } t | } | d j o | S| d | St i i | S( Nt Darwint /( R! R t platformt systemR t patht basenameR# ( R t dlnamet
dlbasenamet libdir( ( sZ /home/zelgadis/synfig-buildroot/linux64/build/lib/gobject-introspection/giscanner/utils.pyt extract_libtool_shlibl s
c C ss t | } | d j o t d | n t i i t i i | d | } | i d d i d d } | S( Ns' %s has no dlname. Not a shared library?s .libss .libs/.libss .libs\.libs( R! R t
ValueErrorR R( t joint dirnamet replace( R R* t libname( ( sZ /home/zelgadis/synfig-buildroot/linux64/build/lib/gobject-introspection/giscanner/utils.pyt extract_libtool~ s
c C s¤ | i } | p d S| i } | o | i d Sd } t i d j o
d } n y&