Skip to content
  • Emmanuele Bassi's avatar
    Turn GskRenderNode into a derivable type · d701a892
    Emmanuele Bassi authored
    Language bindings—especially ones based on introspection—cannot deal
    with custom type hiearchies. Luckily for us, GType has a derivable type
    with low overhead: GTypeInstance.
    
    By turning GskRenderNode into a GTypeInstance, and creating derived
    types for each class of node, we can provide an introspectable API to
    our non-C API consumers, with no functional change to the C API itself.
    d701a892