MCPcopy Index your code
hub / github.com/ZeroIntensity/pointers.py / api_binding_base

Function api_binding_base

src/pointers/api_bindings.py:17–30  ·  view source on GitHub ↗
(data: Func, *args)

Source from the content-addressed store, hash-verified

15
16
17def api_binding_base(data: Func, *args):
18 func = data[0]
19
20 if not func:
21 name: str = data[2]
22 minver = data[1]
23
24 raise NotImplementedError(
25 f"{name} is only supported on versions {data[1]}+"
26 if minver
27 else f"{name} is not supported on this version",
28 )
29
30 return binding_base(func, *args)
31
32
33class DumbassError(Exception):

Callers 15

checkMethod · 0.85
va_parseMethod · 0.85
from_longMethod · 0.85
fill_infoMethod · 0.85
from_contiguousMethod · 0.85
get_pointerMethod · 0.85
is_contiguousMethod · 0.85
releaseMethod · 0.85
size_from_formatMethod · 0.85
to_contiguousMethod · 0.85

Calls 1

binding_baseFunction · 0.85

Tested by

no test coverage detected