mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
gir: batch-add user typelib search paths
This commit is contained in:
parent
07e824d8e7
commit
f2d4643bf5
2 changed files with 6 additions and 7 deletions
|
@ -37,8 +37,9 @@ _xml_cache = {}
|
|||
_user_search_paths = []
|
||||
|
||||
|
||||
def add_typelib_search_path(path: str):
|
||||
_user_search_paths.append(path)
|
||||
def add_user_typelib_paths(paths: list):
|
||||
global _user_search_paths
|
||||
_user_search_paths += paths
|
||||
|
||||
|
||||
def get_namespace(namespace: str, version: str) -> "Namespace":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue