aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2020-03-04 13:03:47 +0100
committerXavier Claessens <xclaesse@gmail.com>2020-03-04 13:49:01 -0500
commita46f0a620228f9acfbf2340d6d9a2d58229720aa (patch)
treeca10199b5ff2ed8187592d6d60feaf7b2f10d792 /docs/markdown/snippets
parent58db8d5e1134e3917b2fb20403624ac090f1f604 (diff)
downloadmeson-a46f0a620228f9acfbf2340d6d9a2d58229720aa.zip
meson-a46f0a620228f9acfbf2340d6d9a2d58229720aa.tar.gz
meson-a46f0a620228f9acfbf2340d6d9a2d58229720aa.tar.bz2
interpreter: add 'name' method to BuildTargetHolder
As any child of BuildTargetHolder might need the name of the object, provides a method to get object name. This is useful in gst-build to display the plugin name and not the filename.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/build_target_older_name.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/snippets/build_target_older_name.md b/docs/markdown/snippets/build_target_older_name.md
new file mode 100644
index 0000000..e9399da
--- /dev/null
+++ b/docs/markdown/snippets/build_target_older_name.md
@@ -0,0 +1,2 @@
+## Added 'name' method
+Build target objects (as returned by executable(), library(), ...) now have a name() method.