mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add missing symbols in JACK-Client stubs (#9205)
`ignore_missing_stub = false` and completed on Windows & MacOS
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
version = "0.5.*"
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = false
|
||||
platforms = ["linux"]
|
||||
apt_dependencies = ["libjack-dev"]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from _typeshed import Self
|
||||
from collections.abc import Callable, Generator, Iterable, Iterator, Sequence
|
||||
from typing import Any, overload
|
||||
@@ -285,3 +286,15 @@ def port_name_size() -> int: ...
|
||||
def set_error_function(callback: Callable[[str], object] | None = ...) -> None: ...
|
||||
def set_info_function(callback: Callable[[str], object] | None = ...) -> None: ...
|
||||
def client_pid(name: str) -> int: ...
|
||||
|
||||
METADATA_CONNECTED: str
|
||||
METADATA_HARDWARE: str
|
||||
METADATA_ICON_LARGE: str
|
||||
METADATA_ICON_SMALL: str
|
||||
METADATA_PORT_GROUP: str
|
||||
METADATA_PRETTY_NAME: str
|
||||
if sys.platform != "linux":
|
||||
METADATA_EVENT_TYPES: str
|
||||
METADATA_ICON_NAME: str
|
||||
METADATA_ORDER: str
|
||||
METADATA_SIGNAL_TYPE: str
|
||||
|
||||
Reference in New Issue
Block a user