ó   Qc@€sPddlmZddlmZddlmZdZdefd„ƒYZdS( iÿÿÿÿ(twith_statementi(tast(t XMLWriters1.2t GIRWritercB€sjeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „Zd d„Zd„Zd„Zd„Zd'd„Zd„Zdd„Zd„Zd„Zd'd'd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „Z!d!„Z"d"„Z#gd#„Z$d$„Z%e&d%„Z'd&„Z(RS((cC€s1tt|ƒjƒ|jdƒ|j|ƒdS(NsªThis file was automatically generated from C sources - DO NOT EDIT! To affect the contents of this file, edit the original C definitions, and/or use gtk-doc annotations. (tsuperRt__init__t write_commentt_write_repository(tselft namespace((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR!scC€sÕdtfd d d g}|jd|ƒ¥x$t|jƒD]}|j|ƒq;Wx*tt|jƒƒD]}|j|ƒqhWx*tt|jƒƒD]}|j |ƒq•W||_ |j |ƒd|_ WdQXdS( Ntversiontxmlnss)http://www.gtk.org/introspection/core/1.0sxmlns:cs&http://www.gtk.org/introspection/c/1.0s xmlns:glibs)http://www.gtk.org/introspection/glib/1.0t repository(R s)http://www.gtk.org/introspection/core/1.0(sxmlns:cs&http://www.gtk.org/introspection/c/1.0(s xmlns:glibs)http://www.gtk.org/introspection/glib/1.0( tCOMPATIBLE_GIR_VERSIONt tagcontexttsortedtincludest_write_includetsettexported_packagest_write_pkgconfig_pkgt c_includest_write_c_includet _namespacet_write_namespacetNone(RR tattrstincludetpkgt c_include((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR)s    cC€s2d|jfd|jfg}|jd|ƒdS(NtnameR R(RR t write_tag(RRR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR;scC€s#d|fg}|jd|ƒdS(NRtpackage(R(RR R((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR?scC€s#d|fg}|jd|ƒdS(NRs c:include(R(RRR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRCscC€s³d|jfd|jfddj|jƒfddj|jƒfddj|jƒfg}|jd|ƒ>d„}x-t|jƒd |ƒD]}|j |ƒq’WWdQXdS( NRR sshared-libraryt,sc:identifier-prefixessc:symbol-prefixesR cS€set|tjƒr>t|tjƒr7t|j|jƒSdSn#t|tjƒrTdSt||ƒSdS(Niÿÿÿÿi(t isinstanceRtAliastcmpR(tatb((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pytnscmpQsR$( RR tjointshared_librariestidentifier_prefixestsymbol_prefixesRRt itervaluest _write_node(RR RR'tnode((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRGs   cC€st|tjƒr"|j|ƒnYt|tjƒrD|j|ƒn7t|tjƒrf|j|ƒnt|tjtj fƒr‘|j |ƒnêt|tj ƒr³|j |ƒnÈt|tj ƒrÕ|j|ƒn¦t|tjƒr÷|j|ƒn„t|tjƒr|j|ƒnbt|tjƒr.nMt|tjƒrP|j|ƒn+t|tjƒrr|j|ƒn dG|GHdS(NsWRITER: Unhandled node(R"RtFunctiont_write_functiontEnumt _write_enumtBitfieldt_write_bitfieldtClasst Interfacet _write_classtCallbackt_write_callbacktRecordt _write_recordtUniont _write_uniontBoxedt _write_boxedtMemberR#t _write_aliastConstantt_write_constant(RR.((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR-^s.cC€s&|jr"|jd|jfƒndS(NR (R tappend(RR.R((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt_append_versionys cC€stx9|jD].\}}|jdd|fd|fgƒq Wt|dƒrp|jrp|jddg|jƒndS(Nt attributeRtvaluetdocsxml:whitespacetpreserve(sxml:whitespaceRI(t attributesRthasattrRH(RR.tkeyRG((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt_write_generic}s &cC€s|js|j r#|jdƒn|jrg|jd|jfƒ|jrg|jd|jfƒqgn|jr‰|jd|jfƒndS(Ntintrospectablet0t deprecatedsdeprecated-versiont stability(sintrospectableRO(tskipRNRDRPtdeprecated_versionRQ(RR.R((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt_append_node_generic„s    cC€s|jr|jdƒndS(Ntthrowst1(sthrowsRV(RURD(RtfuncR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt_append_throwss cC€s„d|jfg}|jdk r:|jd|jfƒn|j||ƒ|jd|ƒ"|j|ƒ|j|jƒWdQXdS(NRsc:typetalias( RtctypeRRDRTRRMt_write_type_refttarget(RRYR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRA“s cC€sœd|jfg}|j|ƒ|j||ƒ|j||ƒ|j||ƒ|j||ƒ5|j|ƒ|j|jd|ƒ|j |ƒWdQXdS(NRtparent( RtextendRERTRXRRMt_write_return_typetretvalt_write_parameters(Rtcallablettag_namet extra_attrsR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt_write_callableœs  tfunctioncC€s¾|jr dSg}t|dƒr;|jd|jfƒn|jr]|jd|jfƒn"|jr|jd|jfƒn|jdk r§|jd|jfƒn|j|||ƒdS(Ntsymbols c:identifiers shadowed-bytshadowssmoved-to( tinternal_skippedRKRDRgt shadowed_byRhtmoved_toRRe(RRWRcR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR0§s   cC€s|j|ddƒdS(NRctmethod(R0(RRl((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt _write_methodµscC€s|j|ddƒdS(NRcRf(R0(RRl((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt_write_static_method¸scC€s|j|ddƒdS(NRct constructor(R0(RRl((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt_write_constructor»scC€s‹|s dSg}|jr2|jd|jfƒn|jrK|jdƒn|jd|ƒ(|j|ƒ|j|jd|ƒWdQXdS(Nstransfer-ownershipRRRVs return-valueRf(sskipRV(ttransferRDRRRRMt _write_typettype(Rtreturn_R]R((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR_¾s   c C€s}|j r|jdkrdS|jdƒK|jrO|j||jdƒnx!|jD]}|j||ƒqYWWdQXdS(Nt parameterssinstance-parameter(Rutinstance_parameterRRt_write_parameter(RRbt parameter((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRaËs Rxc C€s¹g}|jdk r.|jd|jfƒn|jdk r‡|jdkr‡|jd|jfƒ|jd|jrzdndfƒn|jr©|jd|jfƒn|jrÂ|jdƒn|jrä|jd |jfƒn|jdk r"|j |jƒ}|jd d |ffƒn|j dk r`|j |j ƒ}|jd d |ffƒn|j ry|jdƒn|j ||ƒ(|j |ƒ|j|jd|ƒWdQXdS(NRtint directionscaller-allocatesRVROstransfer-ownerships allow-nonetscopetclosures%dtdestroyRRRf(s allow-noneRV(sskipRV(targnameRRDRztcaller_allocatesRqt allow_noneR{t closure_nametget_parameter_indext destroy_nameRRRRMRrRs(RR]RxtnodenameRtidx((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRwÔs2       cC€s_|js%td||jfƒ‚n|jjd}|jj|ƒrX|jt|ƒS|jS(Ns$Caught unresolved type %r (ctype=%r)t.(tresolvedtAssertionErrorRZRRt target_ginamet startswithtlen(Rttypevaltprefix((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt _type_to_nameïs  cC€s1g}|jr(|jd|jfƒnt|tjƒrn|jtjjkr|jdd|jfƒqn¯t|tjƒr¨|j r|jdd|j fƒqnut|tj ƒrÍ|jddƒnP|j rø|jdd|j |ƒfƒn%|j r|jdd|j fƒn|jd|ƒdS(sN Like _write_type, but only writes the type name rather than the full details sc:typeiRsGLib.HashTableRsN(snamesGLib.HashTable(RZRDR"RtArrayt array_typetCtinserttListRtMapR‰RŽttarget_fundamentalR(RtntypeR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR[øs    " cC€såg}|jr(|jd|jfƒn"|jrJ|jd|jfƒnt|tjƒrx|jdgƒWdQXnit|tjƒr¤|jtjj kr»|j dd|jfƒn|j s×|j ddƒn:|j r|j dk sþ|jdk r|j ddƒn|j dk r@|jdd |j ffƒn|jdk rx|j dd d |j|jƒfƒn|jd |ƒ|j|jƒWdQXn=t|tjƒr|jrÛ|j dd|jfƒn|jd |ƒ|j|jƒWdQXnÚt|tjƒre|j ddƒ|jd |ƒ%|j|jƒ|j|jƒWdQXn||jr|j dd|j|ƒfƒnA|jrµ|j dd|jfƒn|jrÑ|j ddƒn|jd |ƒdS(Nsc:typetvarargsiRszero-terminatedRORVs fixed-sizes%dtlengthtarrayRssGLib.HashTabletforeign(szero-terminatedRO(szero-terminatedRV(snamesGLib.HashTable(sforeignRV(tcomplete_ctypeRDRZR"RtVarargsRRRR‘R’tzeroterminatedtsizeRtlength_param_nameR‚Rrt element_typeR“RR”tkey_typet value_typeR‰RŽR•ttarget_foreignR(RR–trelationRfR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRrsP        "  cC€s5|jr1|jd|jfd|jfgƒndS(Nsglib:type-names glib:get-type(tget_typeR^t gtype_name(RR.R((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyt_append_registeredAs cC€sìd|jfg}|j||ƒ|j||ƒ|j||ƒ|jd|jfƒ|jrz|jd|jfƒn|jd|ƒZ|j|ƒx|j D]}|j |ƒq¤Wx$t |j ƒD]}|j |ƒqËWWdQXdS(NRsc:typesglib:error-domaint enumeration(RRERTR§RDRZt error_domainRRMtmemberst _write_memberRtstatic_methodsRn(RtenumRtmemberRl((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR2Gs  cC€sÊd|jfg}|j||ƒ|j||ƒ|j||ƒ|jd|jfƒ|jd|ƒZ|j|ƒx|jD]}|j |ƒq‚Wx$t |j ƒD]}|j |ƒq©WWdQXdS(NRsc:typetbitfield( RRERTR§RDRZRRMRªR«RR¬Rn(RR¯RR®Rl((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR4Ws cC€s‚d|jfdt|jƒfd|jfg}|jdk rX|jd|jfƒn|jd|ƒ|j|ƒWdQXdS(NRRGs c:identifiers glib:nickR®( RtstrRGRgtnickRRDRRM(RR®R((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR«ds cC€s„d|jfd|jfd|jfg}|j||ƒ|j||ƒ|jd|ƒ"|j|ƒ|j|jƒWdQXdS(NRRGsc:typetconstant( RRGRZRERTRRMRrR¢(RR²R((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRCms   c C€säd|jfd|jfd|jfg}|j||ƒ|j||ƒt|tjƒr¯d}|jdk r“|j d|j |jƒfƒn|j rµ|j dƒqµnd}|j d |j fƒ|jdk ró|j d |jfƒn|jdk r$|j d |j |jƒfƒnt|tjƒrÚ|jrO|j dƒn|jrq|j d |jfƒn|jr“|j d|jfƒn|jrµ|j d|jfƒn|jrÚ|j d|jfƒqÚn|j||ƒò|j|ƒt|tjƒrKx<t|jƒD](}|jdd|j |ƒfgƒqWnt|tjƒrœx<t|jƒD](}|jdd|j |ƒfgƒqmWnt|tjƒrØx't|jƒD]}|j|ƒq¾Wnt|tjtjfƒrx't|jƒD]}|j|ƒqWnx$t|j ƒD]}|j!|ƒq-Wx$t|j"ƒD]}|j#|ƒqTWx$t|j$ƒD]}|j%|ƒq{Wx|j&D]}|j'|ƒqœWx$t|j(ƒD]} |j)| ƒqÃWWdQXdS(NRsc:symbol-prefixsc:typetclassR]tabstractRVt interfacesglib:type-names glib:get-typesglib:type-structsglib:fundamentals glib:ref-funcsglib:unref-funcsglib:set-value-funcsglib:get-value-funct implementst prerequisite(R´RV(sglib:fundamentalRV(*Rtc_symbol_prefixRZRERTR"RR5t parent_typeRRDRŽt is_abstractR¦R¥tglib_type_structt fundamentaltref_funct unref_functset_value_functget_value_funcRRMRt interfacesRR6t prerequisitest constructorsRpR¬Rntvirtual_methodst _write_vfunctmethodsRmt propertiest_write_propertytfieldst _write_fieldtsignalst _write_signal( RR.RRctifaceRltvfunctproptfieldtsignal((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR7wsp               cC€séd|jfg}|jdk r:|jd|jfƒn|j||ƒ|jd|ƒ‡|j|ƒx$t|jƒD]}|j |ƒqzWx$t|j ƒD]}|j |ƒq¡Wx$t|j ƒD]}|j |ƒqÈWWdQXdS(Ns glib:namesc:symbol-prefixs glib:boxed(RR¸RRDR§RRMRRÃRpRÆRmR¬Rn(RtboxedRRl((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR?³s cC€sòd|jfg}|j||ƒ|j||ƒ|jsK|jd ƒn|jrd|jd ƒn|jr}|jd ƒn|jr–|jd ƒn|jr¸|jd|jfƒn|j d |ƒ"|j |ƒ|j |j ƒWdQXdS(NRtreadableROtwritableRVt constructsconstruct-onlystransfer-ownershiptproperty(sreadableRO(swritableRV(s constructRV(sconstruct-onlyRV( RRERTRÓRDRÔRÕtconstruct_onlyRqRRMRrRs(RRÏR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRÈÁs       cC€s?g}|jr(|jd|jfƒn|j|d|ƒdS(Ntinvokersvirtual-method(RØRDRe(RtvfR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRÅÔs cC€sHg}|j|jkr1|jd|jfƒn|j|d|ƒdS(Nsc:typetcallback(RZRRDRe(RRÚR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR9ÚscC€sìt}t|ƒ}|jdk r:|jd|jfƒn|jdk rb|jd|jfƒn|jr{|jd ƒn|jr”|jd ƒn|jdk rËt }|jd|j |jƒfƒn|j ||ƒ|j ||ƒ|j ||ƒ|jr|jd|jfƒn|jd|ƒ·|j|ƒ|jrmx$|jD]}|j||ƒqPWnx$t|jƒD]}|j|ƒq}Wx$t|jƒD]}|j|ƒq¤Wx$t|jƒD]}|j|ƒqËWWdQXdS( NRsc:typet disguisedRVRšsglib:is-gtype-struct-forsc:symbol-prefixtrecord(s disguisedRV(sforeignRV(tFalsetlistRRRDRZRÛRštis_gtype_struct_fortTrueRŽRERTR§R¸RRMRÉRÊRRÃRpRÆRmR¬Rn(RRÜRdtis_gtype_structRRÐRl((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR;às<       cC€stg}|jdk r.|jd|jfƒn|jdk rV|jd|jfƒn|j||ƒ|j||ƒ|j||ƒ|jr¨|jd|jfƒn|jd|ƒ´|j |ƒ|j rõx!|j D]}|j |ƒqÛWnx$t |j ƒD]}|j|ƒqWx$t |jƒD]}|j|ƒq,Wx$t |jƒD]}|j|ƒqSWWdQXdS(NRsc:typesc:symbol-prefixtunion(RRRDRZRERTR§R¸RRMRÉRÊRRÃRpRÆRmR¬Rn(RRâRRÐRl((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyR=s*   cC€s¤|jrÕt|jtjƒrld|jfg}|j||ƒ|jd|ƒ|j|jƒWdQXq t|jtjƒr”|j |jƒq t|jtj ƒr¼|j |jƒq t d|jfƒ‚nËd|jfg}|j||ƒ|j s|jd ƒn|jr)|jd ƒn|jrQ|jdt|jƒfƒn|jrj|jd ƒn|jd|ƒ"|j|ƒ|j|jƒWdQXdS( NRRÐsUnknown field anonymous: %rRÓRORÔRVtbitstprivate(sreadableRO(swritableRV(sprivateRV(tanonymous_nodeR"RR8RRTRR9R:R;R<R=RˆRÓRDRÔRãR°RäRMRrRs(RRÐRáR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRÊs2      cC€sÿd|jfg}|jr4|jd|jfƒn|jrM|jd ƒn|jrf|jd ƒn|jr|jd ƒn|jr˜|jd ƒn|j||ƒ|j||ƒ|j d|ƒ/|j |ƒ|j |j ƒ|j |ƒWdQXdS( NRtwhens no-recurseRVtdetailedtactionsno-hookss glib:signal(s no-recurseRV(sdetailedRV(sactionRV(sno-hooksRV(RRæRDt no_recurseRçRètno_hooksRERTRRMR_R`Ra(RRÑR((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRÌ6s"      N()t__name__t __module__RRRRRRR-RERMRTRXRAReR0RmRnRpRR_RaRwRŽR[RrR§R2R4R«RCR7R?RÈRÅR9R;R=RÝRÊRÌ(((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyRsJ                3   <      N(t __future__RtRt xmlwriterRR R(((sy/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyts