Capability library
每个功能,一个中文代码页面。
从 Python 内置能力到 Flask、数据库、AI、工业控制和动态库。搜索名称、签名或业务场景,打开页面即可复制运行。
当前找到 89 项
031动态库 · 外部动态库 / DLL / FFI回调类型
(返回类型: 'Any' = '整数', 参数类型: 'Iterable[Any] | None' = None, 调用约定: 'str' = 'cdecl')↗032动态库 · 外部动态库 / DLL / FFI创建回调(函数, 返回类型: 'Any' = '整数', 参数类型: 'Iterable[Any] | None' = None, 调用约定: 'str' = 'cdecl')↗033动态库 · 外部动态库 / DLL / FFI动态库封装(路径或名称: 'Any' = None, 调用约定: 'str' = 'cdecl', 全局: 'bool' = False, **选项)↗034动态库 · 外部动态库 / DLL / FFI封装动态库(路径或名称: 'Any' = None, 调用约定: 'str' = 'cdecl', 全局: 'bool' = False, **选项) -> '动态库封装'↗035动态库 · 外部动态库 / DLL / FFI创建嵌套结构体(名称: 'str', 字段: 'Iterable[tuple[str, Any]]')↗036动态库 · 外部动态库 / DLL / FFI结构体数组(结构体类, 长度: 'int')↗037动态库 · 外部动态库 / DLL / FFI创建结构体数组(结构体类, 长度: 'int')↗038动态库 · 外部动态库 / DLL / FFI结构体指针(结构体类)↗039动态库 · 外部动态库 / DLL / FFI创建位域结构体(名称: 'str', 字段: 'Iterable[tuple[str, type, int]]')↗040动态库 · 外部动态库 / DLL / FFI分配内存(字节数: 'int')↗041动态库 · 外部动态库 / DLL / FFI释放内存(指针)↗042动态库 · 外部动态库 / DLL / FFI分配结构体(结构体类)↗043动态库 · 外部动态库 / DLL / FFI分配结构体数组(结构体类, 长度: 'int')↗044动态库 · 外部动态库 / DLL / FFI创建C字符串(文本: 'str', 编码: 'str' = 'utf-8') -> 'ctypes.c_char_p'↗045动态库 · 外部动态库 / DLL / FFI创建C宽字符串(文本: 'str') -> 'ctypes.c_wchar_p'↗046动态库 · 外部动态库 / DLL / FFIC字符串转Python(指针, 编码: 'str' = 'utf-8') -> 'str'↗047动态库 · 外部动态库 / DLL / FFI拷贝结构体(源指针, 目标指针=None)↗048动态库 · 外部动态库 / DLL / FFI清零内存(指针, 字节数: 'int')↗049动态库 · 外部动态库 / DLL / FFI内存比较(指针1, 指针2, 字节数: 'int') -> 'int'↗050动态库 · 外部动态库 / DLL / FFI函数指针表(函数列表: 'list[tuple[str, Any, list[Any] | None]]')↗051动态库 · 外部动态库 / DLL / FFI动态加载函数(库, 函数名: 'str', 返回类型: 'Any' = '整数', 参数类型: 'Iterable[Any] | None' = None)↗052动态库 · 外部动态库 / DLL / FFI枚举常量(模块, 前缀: 'str' = '') -> 'dict[str, int]'↗053动态库 · 外部动态库 / DLL / FFI设置错误模式(模式: 'int' = 0)↗054动态库 · 外部动态库 / DLL / FFI获取错误码() -> 'int'↗055动态库 · 外部动态库 / DLL / FFI解析C头文件(头文件文本: 'str') -> 'dict'↗056动态库 · 外部动态库 / DLL / FFI可变长度数组(结构体类, 数组字段名: 'str', 元素类型, 元素数量: 'int')↗057动态库 · 外部动态库 / DLL / FFI设置可变长度(结构体实例, 数组字段名: 'str', 新长度: 'int')↗058动态库 · 外部动态库 / DLL / FFIC类型信息(类型: 'Any') -> 'dict'↗059动态库 · 外部动态库 / DLL / FFI创建FFI()↗060动态库 · 外部动态库 / DLL / FFIFFI定义(ffi对象, C声明: 'str')↗