Skip to content
  • John (J5) Palmieri's avatar
    refactor in/out marshalling to be to_py/from_py · a4e4318b
    John (J5) Palmieri authored
    * in/out make sense from a C perspective but when you get to the
       python layers it makes more sense to label them as to_py and
       from_py to denote which way we are marshalling
     * this helps clear up the difference between callbacks which
       call into python and invoked functions which call into C
     * in the callback case we marshal in values to Python objects
       and out values to C types but in the invoke case we do the
       reverse.  Dealing with to_py/from_py makes the code much more
       resuable and consistant
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658362
    a4e4318b