From 78f1ef85fd6bf663b7a7d9d06f731f7ce9a6f629 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sun, 8 Jul 2018 10:58:07 -0700 Subject: Add missing method on external library object: type_name() (#3845) For some reason this was missing, but it should've always existed since cc.find_library() returns an object that is internally an ExternalDependency instance. --- docs/markdown/Reference-manual.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown') diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index df8531c..e3ae111 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -2045,6 +2045,9 @@ library. This object has the following methods: - `found` which returns whether the library was found. + - `type_name()` (*added 0.48.0*) which returns a string describing + the type of the dependency, which will be `library` in this case. + - `partial_dependency(compile_args : false, link_args : false, links : false, includes : false, source : false)` (*added 0.46.0*) returns a new dependency object with the same name, version, found status, -- cgit v1.1