aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/7 gnome/gir/prog.py
blob: aa1f9a7744cb0318d328ac16c6263dfb26ac9288 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3
from gi.repository import Meson, MesonDep1, MesonDep2

if __name__ == "__main__":
    s = Meson.Sample.new()
    dep1 = MesonDep1.Dep1.new()
    dep2 = MesonDep2.Dep2.new("Hello, meson/py!")
    s.print_message(dep1, dep2)

    s2 = Meson.Sample2.new()
    s2.print_message()