ó   Qc@sŠddlmZddlmZddlmZidej6dej6dej6dej6Z d„Z d „Z d e fd „ƒYZ d S( iÿÿÿÿ(tStringIOi(tast(tCCodeGeneratortNULLs""sg_object_get_type ()cCstj|ƒ}|r|SdS(Nt0(tDEFAULT_C_VALUEStget(ttypevaltdefault((s{/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pytget_default_for_typevalscCsT|jr|jjddƒS|jr>|jjddƒjƒStsPt|ƒ‚dS(Nt t_t.t(ttarget_fundamentaltreplacet target_ginametlowertFalsetAssertionError(R((s{/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pytuscore_from_type$s   tEverythingCodeGeneratorcBseZd„Zd„ZRS(cCs1tjddƒ|_t|j||ƒ|_dS(Nt Everythings1.0(Rt Namespacet namespaceRtgen(tselftout_h_filenametout_c_filename((s{/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyt__init__.sc Cs×tjdtjtjdtjƒgt|jjdƒƒ}|jj |ƒd}|jj ||ƒd}xœtj D]‘}|t |ƒ}|jj|ƒ}tj|tj|dtjƒgt|ƒ}|jj |ƒt |ƒ}d|f}|jj ||ƒquWd}x¼tj D]±}|tjkr5qn|t |ƒ}|jj|ƒ}tj|tjtjdtjƒtjd|dtjdtjƒgt|ƒ}|jj |ƒ|jj |dƒqWd }xþtj D]ó}|tjkrúqßn|t |ƒ}|jj|ƒ}tj|tjtjdtjƒtjd|dtjdtjƒgt|ƒ}|jj |ƒtd ƒ}t |jƒ}|jd |fƒ|jdƒ|jj ||jƒƒqßWd }xçtj D]Ü}|tjkrqæn|t |ƒ}|jj|ƒ}tj|tj|dtjƒtjd|dtjdtjƒgt|ƒ}|jj |ƒtd ƒ}t |jƒ}|jd ƒ|jj ||jƒƒqæW|jjƒdS(Ntnullfuncttransfers return; s const return s return %s; s oneparam targ0t directions one_outparam tws *arg0 = %s; spassthrough_one s return arg0; (RtFunctiontReturnt TYPE_NONEtPARAM_TRANSFER_NONERRt gen_symbolRtappendtset_function_bodytINTROSPECTABLE_BASICRR t ParametertPARAM_DIRECTION_INtPARAM_DIRECTION_OUTRtretvaltwritetgetvaluetcodegen(RtfunctbodytprefixRtnametsymR((s{/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyR/2sx          (t__name__t __module__RR/(((s{/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyR,s N(RR RR1RtTYPE_ANYt TYPE_STRINGt TYPE_FILENAMEt TYPE_GTYPERR RtobjectR(((s{/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyts